Formatting
This commit is contained in:
parent
7c2c93cd14
commit
8d7e01560e
1 changed files with 6 additions and 3 deletions
|
@ -1,4 +1,5 @@
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
sys.path.append("/dev-py-packages")
|
sys.path.append("/dev-py-packages")
|
||||||
from firepup650 import inputCast, clear
|
from firepup650 import inputCast, clear
|
||||||
|
|
||||||
|
@ -19,10 +20,12 @@ while 1:
|
||||||
clear()
|
clear()
|
||||||
if known[str(round)]:
|
if known[str(round)]:
|
||||||
print(f"Known Shell! Shell is {known[str(round)]}")
|
print(f"Known Shell! Shell is {known[str(round)]}")
|
||||||
print(f"""Chance of live shell: {(live/(live+blank if live+blank>0 else 1))*100}%
|
print(
|
||||||
|
f"""Chance of live shell: {(live/(live+blank if live+blank>0 else 1))*100}%
|
||||||
Chance of blank shell: {blank/(live+blank if live+blank>0 else 1)*100}%
|
Chance of blank shell: {blank/(live+blank if live+blank>0 else 1)*100}%
|
||||||
Shells left: {total} ({blank}B {live}L)
|
Shells left: {total} ({blank}B {live}L)
|
||||||
Next shell is?""")
|
Next shell is?"""
|
||||||
|
)
|
||||||
next = inputCast("> ").upper()
|
next = inputCast("> ").upper()
|
||||||
if next in ["B", "L"]:
|
if next in ["B", "L"]:
|
||||||
blank = blank - 1 if next == "B" and not known[str(round)] else blank
|
blank = blank - 1 if next == "B" and not known[str(round)] else blank
|
||||||
|
|
Loading…
Reference in a new issue