Add it to an Altspace world
- On the website: edit your world on altvr.app, open Snippets on the left, choose All, then pick Mancala.
- In Unity: add an empty GameObject, click Add Component > BS > Snippet and type
mancala.
Add it with a script tag
Paste this into a Banter space's HTML, or into an Altspace world's Assets/WebRoot/index.html (outside the snippet section). Give each copy its own instance to have more than one game in a space.
Script tag
<script src="https://mancala.firer.at/Mancala.js" position="0 1.1 -2" lighting="lit"></script>
All the settings are listed on GitHub.
Features
- Standard Kalah rules, with captures and extra turns
- Reset button
- Several independent boards in one world
How to play
Two players, 6 pits each plus a store, 4 stones per pit.
- Click one of your pits to pick up its stones and sow them one per pit, counter-clockwise, skipping your opponent's store.
- Last stone in your store: take another turn.
- Last stone in an empty pit on your side: capture it and the stones in the opposite pit.
- The game ends when one side is empty. Most stones wins.
[12] [11] [10] [9] [8] [7] ← Player 2's pits
[13] [6] ← Stores
[0] [1] [2] [3] [4] [5] ← Player 1's pits