Apr-11-2019, 06:26 PM
You can Use:
https://inventwithpython.com/makinggames.pdf
at the end of the book he has several human vs computer games with code.
You are on the right track keep going,
Joe
while True: if gameWon(Boolean): break # or popup dialog to restart else: #players turn #computers turnAl Swiegart has written many free books on python and games. In some linux distributions his games are installed by default and the code is open sourced available to read and tweek. Making Games book can be found here:
https://inventwithpython.com/makinggames.pdf
at the end of the book he has several human vs computer games with code.
You are on the right track keep going,
Joe