Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shanesatterfield/tic-tac-toe

Simple tic tac toe game, written in python, where you play against a minimax AI.
https://github.com/shanesatterfield/tic-tac-toe

Last synced: 12 days ago
JSON representation

Simple tic tac toe game, written in python, where you play against a minimax AI.

Awesome Lists containing this project

README

        

# tic-tac-toe
Simple tic tac toe game, written in python, where you play against a minimax, alpha beta pruning AI.

## Dependencies
You will need `python` and `pyglet` to run the game.

If you want to run the tests, you will need the `pytest` and the `pytest-sugar` libraries. You can run the tests with this command anywhere above the test directory.
```
py.test
```

You can install these dependencies through pip with the following command from the root directory of the project.
```
pip install -r requirements.txt
```

## Running the Game
You can run the game with the following command in the root directory of the project.
```
python tic_tac_toe/
```