nim/play.py
2025-04-23 09:46:50 +02:00

11 lines
272 B
Python

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)