Hosseina2 / mancala

Home Page:https://meowing-anteater-cee.notion.site/Mancala-Game-MVP-7521e2f2e5294575b33b17601afde810

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

💻 ⚠️

About

https://meowing-anteater-cee.notion.site/Mancala-Game-MVP-7521e2f2e5294575b33b17601afde810

License:MIT License


Languages

Language:TypeScript 77.8%Language:Cairo 19.1%Language:JavaScript 1.0%Language:CSS 0.8%Language:MDX 0.7%Language:Shell 0.4%Language:HTML 0.1%