First commit

This commit is contained in:
patkordum 2025-04-23 09:46:50 +02:00
commit 0d2340b7e8
4 changed files with 344 additions and 0 deletions

11
play.py Normal file
View file

@ -0,0 +1,11 @@
from nim import train
from game import start_game
if __name__ == "__main__":
# Train the AI with 1000 games
print("START TRAINING \n")
ai = train(1000)
# Start the game and play against the trained AI
print("STARTING THE GAME \n")
start_game(ai)