Antichess is a variant of chess where the goal is to sacrifice all your pieces before your opponent does. This project implements the basic rules of Antichess, allowing two players to play in the same UI. Players take turns making moves and have the option to quit the game. Capturing is mandatory in this variant, and the system enforces the rules to ensure a fair gameplay experience.
👉 Play Antichess Now 👉 Play Antichess Document file
- Gameplay: Two players alternate turns, making moves according to the rules of Antichess.
- Quit Option: Players can choose to quit the game, resulting in a win for the remaining player.
- Error Handling: Invalid moves are promptly highlighted, and players are prompted to make valid moves.
- Victory Notification: Displays the winner when one player successfully sacrifices all their pieces.
- Node.js
- npm
-
Clone the repository to your local machine:
git clone https://github.com/your-username/antichess.git
-
Navigate to the project directory:
cd antichess
-
Install the required dependencies:
npm install
-
Start the development server:
npm start
-
Open your browser and navigate to
http://localhost:3000
to play Antichess.
This project is deployed using Vercel. Visit Play Antichess Now to start playing!
Give a ⭐️ if you like this project!