Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/realm-of-ra/mancala


https://github.com/realm-of-ra/mancala

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

        



# 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

- [Dojo onchain game engine](https://book.dojoengine.org)
- [Node](https://nodejs.org/en/download/package-manager)

## 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
```bash
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:**
```bash
cd contracts
```
2. **Build Contracts:**
```bash
sozo build
```
3. **Run Katana:**
```bash
katana --disable-fee
```
4. **Apply Migrations:**
```bash
sozo migrate
```
5. **Run Indexer (in another cli window):**
```bash
torii --world
```

## License

This project is licensed under the MIT License. See the [LICENSE](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

💻 ⚠️