Website | https://testnet.starkludo.com/ |
Documentation | https://hackmd.io/m9AjLcheSXClw9ttzHQmVw |
StarkLudo is an online classic board game enjoyed by people of all ages. It’s a game of chance and strategy, where players race their game pieces around the board to be the first to reach the finish line.
The objective is to move all four of your game pieces around the board and reach the finish line first and the gaming experience should be on chain fostering togetherness and entertainment while competing amongs friends and loved ones. With the on-chain interaction the players that wins every round of the game will be rewarded with a token.
Steps to build and run StarkLudo locally
npm install -g pnpm
# Install dojoup
curl -L https://install.dojoengine.org | bash
# Install Dojo release
dojoup --version v1.0.0-alpha.6
# Navigate to the client directory
cd client
# Install dependencies
pnpm i
# Run
pnpm dev
Requires 2 terminals to run
In both terminals, ensure you are in the
onchain
directory. You can navigate into theonchain
directory by running this command from the root directory:cd onchain
- Terminal 1
# Start Katana
katana --disable-fee --allowed-origins "*"
- Terminal 2
# Build contracts
sozo build
# Deploy contracts to Katana
sozo migrate apply
# Run Torii with World address generated from previous command
torii --world <WORLD ADDRESS> --allowed-origins "*"
To locate the world address, scan through the output generated from running
sozo migrate apply
, locate the line similar to:
This project is licensed under the MIT License. See License for more information
For more info and guidance on contributing, join the contributors Telegram group: https://t.me/+hnjQooODZOA2M2Rk