Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/afzl210/tictactoepro
- Owner: AFZL210
- Created: 2023-07-25T07:38:36.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-27T15:17:43.000Z (7 months ago)
- Last Synced: 2024-10-11T17:21:10.601Z (about 1 month ago)
- Topics: nodejs, recursion, socket-io, tictactoe, websockets
- Language: JavaScript
- Homepage: https://tic-tac-toe-5h84b2aqg-afzl210s-projects.vercel.app/
- Size: 1.88 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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