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

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.

Awesome Lists containing this project

README

          

# TicTacToe Game
[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](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.

![First Screen](/assets/1.PNG)

You can play with your friend by choosing 2P or play with the PC by choosing PC.

2. Then chose X or O.

![First Screen](/assets/2.PNG)

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

![First Screen](/assets/3.PNG)

4. Start playing and have a good game.

![First Screen](/assets/4.PNG)

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.