https://github.com/vaibhav1565/command-line-chess
https://github.com/vaibhav1565/command-line-chess
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/vaibhav1565/command-line-chess
- Owner: vaibhav1565
- Created: 2024-12-27T08:07:22.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-12-27T19:24:27.000Z (5 months ago)
- Last Synced: 2024-12-27T20:22:06.236Z (5 months ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Command line chess
A command-line chess game featuring:
- **Single-Player Mode**: Play locally with `cli_chess.js`.
- **Multiplayer Mode**: Play online with `server.js` and `client.js` using WebSocket.### Run:
Run `npm i`
- Single-player: `node cli_chess.js`
- Multiplayer:
1. Start server: `node server.js`
2. Connect clients: `node client.js`Powered by `chess.js` for game logic and `ws` for WebSocket.