overfloww bei kuhwurf zeichnen beseitigt aber nicht flug kurve korrigiert
This commit is contained in:
parent
590092874b
commit
bb4fcf6530
1 changed files with 2 additions and 2 deletions
4
v2.py
4
v2.py
|
@ -50,7 +50,7 @@ if __name__ == "__main__" and running == True:
|
||||||
startscreen = False
|
startscreen = False
|
||||||
|
|
||||||
feld = bg_char(feld," ")
|
feld = bg_char(feld," ")
|
||||||
feld = change_block(feld,ascii.cowsay,[int(ty/2)-2,int(tx/2)-12])
|
feld = change_block(feld,ascii.cowsay,[int(ty/2)-2,int (tx/2)-12])
|
||||||
while running == True:
|
while running == True:
|
||||||
wobl = "-" * (tx - wobble_pos - 5)
|
wobl = "-" * (tx - wobble_pos - 5)
|
||||||
wobr = "-" * wobble_pos
|
wobr = "-" * wobble_pos
|
||||||
|
@ -87,7 +87,7 @@ if __name__ == "__main__" and running == True:
|
||||||
if key_space == True:
|
if key_space == True:
|
||||||
break
|
break
|
||||||
points_prozent = int((points/txhalb)*100)
|
points_prozent = int((points/txhalb)*100)
|
||||||
for a in range(int(points*2)):
|
for a in range(int(points*2)-1):
|
||||||
feld = change_block(feld,"-"*a+"🐄️",[0,0])
|
feld = change_block(feld,"-"*a+"🐄️",[0,0])
|
||||||
feld = change_block(feld,str(points_prozent)+"%",[1,int(tx/2-2)])
|
feld = change_block(feld,str(points_prozent)+"%",[1,int(tx/2-2)])
|
||||||
print(strfeld(feld))
|
print(strfeld(feld))
|
||||||
|
|
Loading…
Reference in a new issue