View Project
A real time Chess game built built in under 15 hours !! (with exams going on!!)
built using ReactJS, WebSockets, NodeJS
A brief description of what this project does:
- 5X5 BOARD with 3 different Pieces
- PIECE P : Pawn
- moves 1 tile Top/Left/Right/Bottom
- PIECE Q : Hero1
- moves 2 tiles Top/Left/Right/Bottom
- PIECE R : Hero2
- moves 2 tiles diagonally Top-Left/Top-Right/Bottom-Left/Bottom-Right
- They all kill any opponent piece in way and cant move over same your own pieces
1. Game starts
2. Create Room, copy room code, share it with other player
3. Join Room, copy room code shared and join the room
4. Both Players A and B select their 5 - Pieces Configuration like PPPQP / PQRRP
5. Game starts with turns alternating between A and B
6. Game stops when a player has eliminated all the pieces of opponent character.
- NodeJS server with WebSockets
- to maintain realtime gamestate and updation with the clients
- max 2 people in a room, as many rooms can be created
- move validation + realtime gamestate management
- ReactJS
- Board rendering
- Piece - Moves validation
- Potential Moves
- Sends request to server for every move played and requests updation of gamestate
- Landing UI
Built with