start charting results

This commit is contained in:
2024-09-23 16:46:39 +01:00
parent 885a44be11
commit a9bd47b6bd
3 changed files with 117 additions and 2 deletions

View File

@ -2,6 +2,8 @@ from enum import Enum
from random import randrange
from time import sleep
print("v1")
class Stats(Enum):
SPD = "SPEED"
HND = "HANDLING"
@ -113,7 +115,7 @@ class Game():
print("")
print(f"--- {self.p2.name} ---")
print(f"SP: {self.p2.SP} ---")
print(f"SP: {self.p2.SP}")
else:
print("========================================================")
@ -197,7 +199,7 @@ class Game():
self.leader = None
print(f"> {self.p2.name} loses their lead")
sleep(5)
#sleep(5)
self.round += 1
self.play_round()
@ -226,4 +228,5 @@ track.info()
game = Game(player1, player2, track)
game.roll_laps()
print(f"Laps: {game.laps}")
game.play_round()