diff --git a/v2.py b/v2.py index 6ddc9bc..8fe3969 100644 --- a/v2.py +++ b/v2.py @@ -50,7 +50,7 @@ if __name__ == "__main__" and running == True: startscreen = False 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: wobl = "-" * (tx - wobble_pos - 5) wobr = "-" * wobble_pos @@ -87,7 +87,7 @@ if __name__ == "__main__" and running == True: if key_space == True: break 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,str(points_prozent)+"%",[1,int(tx/2-2)]) print(strfeld(feld))