A chess game that lets you play locally or online with friends.
You can try the live version here: https://chess-black-chi.vercel.app
- Local multiplayer for playing on the same screen
- Online multiplayer using 4-digit room codes
- Customizable piece styles
To run the game on your own machine, open your terminal and run these commands:
-
Clone the repository git clone https://github.com/tryankita/Chess.git
-
Go into the folder cd Chesss
-
Start a local server (using Python) python -m http.server 80800
Once the server is running, open your browser and go to http://localhost:8080 to play.
To play online, one player needs to select Play Online and click Create Room. This will generate a 4-digit room code. The second player should click Play Online, choose Join Room, and type in that code. The connection is direct.