https://github.com/buuntu/minimax-algorithm
Tic Tac Toe using Flask framework and Angular. AI uses the minimax algorithm to calculate moves.
https://github.com/buuntu/minimax-algorithm
Last synced: 10 months ago
JSON representation
Tic Tac Toe using Flask framework and Angular. AI uses the minimax algorithm to calculate moves.
- Host: GitHub
- URL: https://github.com/buuntu/minimax-algorithm
- Owner: Buuntu
- Created: 2016-01-23T02:37:58.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-05-01T21:20:59.000Z (about 3 years ago)
- Last Synced: 2025-03-28T03:51:12.210Z (about 1 year ago)
- Language: Python
- Size: 85.9 KB
- Stars: 7
- Watchers: 2
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TicTacToe-Flask
Lightweight tic tac toe game using Flask framework and Angular. AI uses the minimax algorithm to calculate moves. Good luck
trying to win.
## Install
```
pip install -r requirements.txt
```
## Run
```
python tictactoe.py
```
and navigate to `http://localhost:5000`
## Minimax
Inside [game.py](https://github.com/Buuntu/minimax-algorithm/blob/master/game.py#L31)
is my implementation of the
[minimax](https://en.wikipedia.org/wiki/Minimax) algorithm.
