ankitrai96 / tic-tac-toe

a manifestation of Minimax algorithm over a classic tic-tac-toe game

Home Page:https://youtu.be/NqgawMPhoz0

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PicPacPoe

app Icon

a manifestation of Minimax algorithm over a classic tic-tac-toe game

Modules

this project has and is developed in three modules as follow:

1. Duo Mode

void of artificial intelligence. Rather, both the characters of game, i.e. Poop 💩 and Ghost 👻 (similar to classic tokens X and O), are controlled manually by player(s)

Duo mode Gameplay

2. Easy Mode

this mode is powered by a relatively easy artificial intelligence game engine which randomly decides moves of 👻 out of available spots (referred as Cells in source code)

Easy mode Gameplay

3. Pro Mode

this is where the game engine utilizes miniMax algorithm. It is impossible for you 💩 to defeat 👻 in this mode!

Pro mode Gameplay

Source Code Directory

apart from the initial react-native directory structure, "src" is root of rest of the source code of this repository which contains react components such as GameEngine, Cell, AppGrid, et cetera.

About

a manifestation of Minimax algorithm over a classic tic-tac-toe game

https://youtu.be/NqgawMPhoz0

License:MIT License


Languages

Language:JavaScript 63.9%Language:Objective-C 21.1%Language:Python 8.3%Language:Java 6.7%