close
Skip to content

ezhpry/tictactoe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic-Tac-Toe

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.

Installation

1. Clone the repository

 git clone https://github.com/ezhpry/tictactoe.git

2. Setup environment

Make 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 sync

3. Run the game

python3 ./src/game.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors