1.0.0-beta.59 • Published 4 years ago

@dxos/chess-app v1.0.0-beta.59

Weekly downloads
-
License
-
Repository
-
Last release
4 years ago

chess-app

This is a React application for a chess game. Core model is located at Chess Core.

Development

  • yarn to install dependencies from root.
  • yarn start to run app. Then open localhost:8000

Publishing

  1. Run the ipfs node locally:
wire ipfs start
  1. Connect your ipfs to the swarm:
cd scripts
./ipfs_swarm_connect.sh
  1. Publish the app:
cd examples/chess-app
yarn wire app deploy
  1. Query to make sure it has been published:
cd scripts
./ipfs_find_app.sh wireline.io/chess
  1. The game should be available on one of public xboxes, e.g. xbox1.bozemanpass.net

Playing

  1. Create your wallet, join the other player into a party same way is with other apps on the platform
  2. When the other player connects, the game can begin
  3. Play by dragging and dropping the pieces on the chess board

chess board

  1. Moves history is displayed on the right hand side

moves pad