Chessmaster is a 2-player chess game that works using Rails' Action Cable.
The game logic is vanilla Javascript, while the board, pieces, and the rest of the user interface are React components.
- Clone down this repo to your computer
- Clone down the backend repo (here)
- Cd into the front-end file (this one).
- In the terminal, run
npm install
to install any dependencies for the front end - Start the front-end local server with
npm start
. - Open another instance of the terminal and open the back-end file
- Install any depenencies by running
bundle install
- Start the API server by running
rails s -p 3001
This React Chess Game uses a Rails API to run & serve moves via websocket, as well as persist piece locations. You can find that socket here.
Further plans include completing the web socket configuration to allow for multiple users & games to occur at the same time.