An open API service indexing awesome lists of open source software.

https://github.com/vaibhav1565/command-line-chess


https://github.com/vaibhav1565/command-line-chess

Last synced: about 2 months ago
JSON representation

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.