Home

Awesome

<div align="center"> <img src="/assets/banner.jpeg"></img> </div>

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

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

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

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --> <!-- prettier-ignore-start --> <!-- markdownlint-disable --> <table> <tbody> <tr> <td align="center" valign="top" width="14.28%"><a href="https://okhaimie.com"><img src="https://avatars.githubusercontent.com/u/57156589?v=4?s=100" width="100px;" alt="okhai.stark ( Tony Stark )"/><br /><sub><b>okhai.stark ( Tony Stark )</b></sub></a><br /><a href="#code-okhaimie-dev" title="Code">💻</a></td> <td align="center" valign="top" width="14.28%"><a href="https://www.zachcook.io/"><img src="https://avatars.githubusercontent.com/u/95892639?v=4?s=100" width="100px;" alt="Zach Cook"/><br /><sub><b>Zach Cook</b></sub></a><br /><a href="#code-web3technologies" title="Code">💻</a></td> <td align="center" valign="top" width="14.28%"><a href="http://www.israelrex.com"><img src="https://avatars.githubusercontent.com/u/46507005?v=4?s=100" width="100px;" alt="IsraelRex"/><br /><sub><b>IsraelRex</b></sub></a><br /><a href="#design-Israelrex9" title="Design">🎨</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/supreme2580"><img src="https://avatars.githubusercontent.com/u/100731397?v=4?s=100" width="100px;" alt="Supreme Labs"/><br /><sub><b>Supreme Labs</b></sub></a><br /><a href="#code-supreme2580" title="Code">💻</a></td> <td align="center" valign="top" width="14.28%"><a href="http://portfolio-xpanvictor.vercel.app/"><img src="https://avatars.githubusercontent.com/u/77200702?v=4?s=100" width="100px;" alt="Xpan Victor"/><br /><sub><b>Xpan Victor</b></sub></a><br /><a href="#code-xpanvictor" title="Code">💻</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/Oshioke-Salaki"><img src="https://avatars.githubusercontent.com/u/105825121?v=4?s=100" width="100px;" alt="Oshioke Salaki"/><br /><sub><b>Oshioke Salaki</b></sub></a><br /><a href="#code-Oshioke-Salaki" title="Code">💻</a></td> <td align="center" valign="top" width="14.28%"><a href="https://nodeguardians.io/character/tadev-guardian "><img src="https://avatars.githubusercontent.com/u/122918260?v=4?s=100" width="100px;" alt="Tristan"/><br /><sub><b>Tristan</b></sub></a><br /><a href="#code-TAdev0" title="Code">💻</a> <a href="#test-TAdev0" title="Tests">⚠️</a></td> </tr> </tbody> </table> <!-- markdownlint-restore --> <!-- prettier-ignore-end --> <!-- ALL-CONTRIBUTORS-LIST:END -->