Dapp to play chess on a Substrate based Blockchain that has the Chess Pallet integrated.
Run locally the chain with the main branch of Chess Pallet: https://github.com/SubstrateChess/substrate-chess-chain or integrate the pallet in your chain with the instructions in the Pallet README: https://github.com/SubstrateChess/pallet-chess
Have your account in one of this browser extensions: PolkadotJS or Talisman.
Send native token to them to have enought funds to pay the transactions fees.
The chain has an Asset with id 200, mint tokens to your account. You need them to bet on your chess match.
Obtain the necessary dependencies so the artifacts can be build and run:
yarn install
yarn start
You can now find in your browser this React application at:
http://localhost:1234/
There is a version deployed in https://main--zippy-cobbler-181a0f.netlify.app/
This version is deployed in the Blockchan GMorDie(https://github.com/GMorDIE/gm-chain/) which is the pallet chess refactored for this specific chain, you can see it in the branch https://github.com/SubstrateChess/pallet-chess/tree/gmordie
The code of this dapp adapted for this chain is in the branch gmordie: https://github.com/SubstrateChess/chess-substrate-dapp/tree/gmordie
Have your account in one of this browser extensions: PolkadotJS or Talisman. For this version you need the native token FREN to have enought funds to pay the transactions fees and the bet to start the game.