Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/realm-of-ra/mancala
https://github.com/realm-of-ra/mancala
Last synced: 28 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/realm-of-ra/mancala
- Owner: realm-of-ra
- License: mit
- Created: 2024-04-10T01:27:35.000Z (8 months ago)
- Default Branch: develop
- Last Pushed: 2024-10-27T16:15:23.000Z (about 2 months ago)
- Last Synced: 2024-10-28T09:35:52.798Z (about 2 months ago)
- Language: TypeScript
- Homepage: https://meowing-anteater-cee.notion.site/Mancala-Game-MVP-7521e2f2e5294575b33b17601afde810
- Size: 9.2 MB
- Stars: 13
- Watchers: 8
- Forks: 30
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 )
💻
Zach Cook
💻
IsraelRex
🎨
Supreme Labs
💻
Xpan Victor
💻
Oshioke Salaki
💻
Tristan
💻 ⚠️