A simple Tic-Tac-Toe game in the terminal (no GUI) written in Python with a reinforcement learning-based AI.
The AI uses Monte Carlo methods to learn from simulated games and improve its moves over time.
git clone https://github.com/ezhpry/tictactoe.gitMake sure you have installed uv.
uv sync will automatically install dependencies, set up a virtual environment, and ensure the correct Python version.
cd tictactoe
uv syncpython3 ./src/game.py