https://github.com/othmane099/tictactoe-minimax-processing
implementing MinMax Algorithm in TicTacToe game using Processing.
https://github.com/othmane099/tictactoe-minimax-processing
game minmax minmax-algorithm processing processing-sketch processing3 tic-tac-toe tictactoe
Last synced: about 1 month ago
JSON representation
implementing MinMax Algorithm in TicTacToe game using Processing.
- Host: GitHub
- URL: https://github.com/othmane099/tictactoe-minimax-processing
- Owner: othmane099
- License: mit
- Created: 2021-04-24T17:52:06.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-10-06T13:58:32.000Z (about 3 years ago)
- Last Synced: 2025-01-21T12:46:58.761Z (10 months ago)
- Topics: game, minmax, minmax-algorithm, processing, processing-sketch, processing3, tic-tac-toe, tictactoe
- Language: Processing
- Homepage:
- Size: 126 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TicTacToe Game
[](https://opensource.org/licenses/MIT)
Creating TicTacToe game using processing, and implementing [MinMax](https://en.wikipedia.org/wiki/Minimax) Algorithm on it.
## About
The game conatins the ability to play with your friend or play with PC, i implement [MinMax](https://en.wikipedia.org/wiki/Minimax)
Algorithm on PC mode which make winning the game against PC
impossible
## Technology used
- Processing Version 3.
## Installation
- Download Processing 3 [here](https://processing.org/download) then extract the zip file.
- Download the repository project from the download section or clone this project by typing in the bash the following command:
```git clone https://github.com/othmane099/tictactoe-minimax-processing.git```
- Open main.pde file.
- Run the application.
## How to play
1. After running the app, you'll have this screen.

You can play with your friend by choosing 2P or play with the PC by choosing PC.
2. Then chose X or O.

3. You have the ability to start first or second when you play against PC.

4. Start playing and have a good game.

NOTE: dont waste your time trying to win vs PC becasuse you won't.
## Contributing
If you want to contribute to this project and make it better with new ideas, your pull request is very welcomed.
If you find any issue just put it in the repository issue section, thank you.