Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/afzl210/tictactoepro

Unbeatable TicTacToe bot implemented with Minimax algorithm, and live PvP mode
https://github.com/afzl210/tictactoepro

nodejs recursion socket-io tictactoe websockets

Last synced: about 1 month ago
JSON representation

Unbeatable TicTacToe bot implemented with Minimax algorithm, and live PvP mode

Awesome Lists containing this project

README

        

# TicTacToePro

Unbeatable TicTacToe bot implemented with Minimax algorithm, and live PvP mode

## Demo

Multiplayer PvP Demo

https://github.com/AFZL210/TicTacToePro/assets/79896602/87286756-78eb-4b8f-b518-e7d7bd17f7c8

## Bot Implementation
[Learn about minimax algorithm](https://en.wikipedia.org/wiki/Minimax)
![ZXEdz](https://github.com/AFZL210/TicTacToePro/assets/79896602/039f0066-c6bd-400f-8186-cc53e41ca06c)

## Features

- Live PvP Mode
- Fight Against Unbeatable bots
- Offline PvP Mode
- Easy | Medium | Monster/Hard Mode

## Tech Stack

React | NodeJS | Socket.io | TailwindCSS | ContextAPI

## Run Locally

Clone the project

```bash
git clone https://github.com/AFZL210/TicTacToePro.git
```

Go to the project directory

```bash
cd TicTacToePro
```

Install dependencies

game/client
```bash
cd game
npm install
```

server
```bash
cd server
npm install
```

Start the server and client

```bash
npm run dev
in game and server folder
```

# TODO List

- [x] Implement TicTacBoard
- [x] Implement same device pvp
- [x] add pvp mode