Skip to content

Latest commit

 

History

History
89 lines (66 loc) · 3.94 KB

README.md

File metadata and controls

89 lines (66 loc) · 3.94 KB

RoR: Mancala

Mancala is a classic strategy board game reimagined as a decentralized, on-chain experience. Built with Cairo smart contracts on the Dojo game engine, it leverages blockchain technology for secure gameplay and global state. The project's MIT and CC0 licenses foster open-source development and maximum accessibility.

Prerequisites

Project Structure

  • client
  • contracts

Setup

Install dojo via

curl -L https://install.dojoengine.org | bash

Make sure install the same version within the Scarb.toml file. Currently this is 0.6.0

Mancala uses a pnpm as a package manager. So you will need pnpm installed also.

npm install -g pnpm

Client Setup

  • Dependencies: Navigate to client directory and install deps
    cd client && pnpm install && pnpm dev

Contracts, Katana and Indexing

For local setup and execution on Katana, follow these steps:

  1. Navigate to Contracts Directory:
    cd contracts
  2. Build Contracts:
    sozo build
  3. Run Katana:
    katana --disable-fee
  4. Apply Migrations:
    sozo migrate
  5. Run Indexer (in another cli window):
    torii --world <WORLD ADDRESS>

License

This project is licensed under the MIT License. See the LICENSE file for more information.

Contributors

okhai.stark ( Tony Stark )
okhai.stark ( Tony Stark )

💻
Zach Cook
Zach Cook

💻
IsraelRex
IsraelRex

🎨
Supreme Labs
Supreme Labs

💻
Xpan Victor
Xpan Victor

💻
Oshioke Salaki
Oshioke Salaki

💻
Tristan
Tristan

💻 ⚠️