https://github.com/efraimnabil/chessboard-game
You and AI are playing a game on a chessboard.
https://github.com/efraimnabil/chessboard-game
chess-game minmax-algorithm reactjs
Last synced: 2 months ago
JSON representation
You and AI are playing a game on a chessboard.
- Host: GitHub
- URL: https://github.com/efraimnabil/chessboard-game
- Owner: efraimnabil
- Created: 2024-05-03T00:21:10.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-24T21:13:40.000Z (7 months ago)
- Last Synced: 2024-11-24T22:20:06.108Z (7 months ago)
- Topics: chess-game, minmax-algorithm, reactjs
- Language: TypeScript
- Homepage: https://chessboard-game.onrender.com/
- Size: 18.6 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Knight Game Against AI 🎮🤖
Challenge yourself in this strategic game where you compete against an AI-powered opponent using a knight on a chessboard.
## 📜 Rules
- The game takes place on a chessboard with a knight starting at a **random position**.
- **Valid Moves**:
- **Turn-Based Gameplay**: You and the AI take turns moving the knight.
- **Objective**: The first player unable to make a valid move **loses**.## 🚀 Features
- Play against an AI that calculates the best moves using the **Minmax algorithm**.
- Get **hints** for optimal moves.
- Simple and intuitive interface.## 🎨 Tech Stack
- **Frontend**: React.js, TypeScript, Tailwind CSS.
- **AI Logic**: Minmax algorithm.## 📚 Inspiration
This project was inspired by studying game theory. Learn more about the problem that inspired us [here](https://www.hackerrank.com/contests/5-days-of-game-theory/challenges/day-1-a-chessboard-game).## 🙌 Team Contributions
- **Mina Magdy**
- **Efraim Nabil**## 💬 Feedback
We’d love to hear your thoughts and see if you can beat the AI without using hints! 😊