Remove unused variable

This commit is contained in:
Brian Wignall
2026-01-04 05:10:38 -05:00
parent 5b89735219
commit b1585bab9b

View File

@@ -78,14 +78,14 @@ def main() -> None:
# Start game loop
input("\nPress Enter to start the Game:\n")
_end = False
while True:
game.print_pegs()
# Players Move
command = input("\nYOUR MOVE - Number of PILE, Number of Object? ")
game.remove_pegs(command)
if _end := game.check_for_win():
if game.check_for_win():
print("\nPlayer Wins the Game, Congratulations!!")
input("\nPress any key to exit")
break