Checkers is a classic board game implemented in a web environment using the Dojo Engine. This project leverages Starknet’s Layer 2 to create a fully decentralized, on-chain checkers game. All game logic, including player moves, validations, and win conditions, is implemented with smart contracts on Starknet, ensuring transparency and fairness.
Before you begin, ensure you have the following installed on your machine:
Open a terminal and run:
cd the-marquis
yarn install
yarn start
Open a terminal and run:
cd dojo-starter
katana --disable-fee --allowed-origins "*"
In a second terminal, execute:
cd dojo-starter
sozo build
sozo migrate
torii --world 0x07e0aa9c93c6b71781b605aeeeb85ee7d097b592c85db0383515c7a17f262af3 --allowed-origins "*"
In a third terminal, navigate to the client folder and run:
cd client
pnpm i
pnpm dev
After completing the steps above, access the Checkers game by navigating to http://localhost:3000
in your web browser.