This is a simple chess game implemented using JavaScript, HTML, and CSS for the frontend, and a WebSocket server for the backend. It allows two players to play chess in real-time over the internet. The game follows standard chess with most rules implemented.
- Real-time multiplayer chess game.
- Standard chess rules and moves.
- WebSocket server for real-time communication.
Before you begin, ensure you have met the following requirements:
- You have Node.js installed on your machine.
- You have Go installed on your machine.
- You have a modern web browser that supports WebSocket.
To get the game up and running, follow these steps:
-
Clone the repository to your local machine:
git clone https://github.com/yourusername/chess-game.git -
setup and run the server
cd server
go run src/main.go
- setup and run the client
cd client
npm i && npm run dev