All work

03 / 17 · Ampersand Game Studios

Mancala Rivals

One of the oldest board games, rebuilt for quick competitive matches online, on phones and in the browser.

Our online mancala game: two-to-five-minute matches in two traditional rule sets, with server-run rules, accounts, ranks and progression, built once for web, Android and iOS.

Studio
Ampersand Game Studios
Our part
Game design · Realtime multiplayer · Backend · Game UI · Platform integration
Genre
Online board game
Players
Casual and competitive players, launching first in the Philippines
Technology
TypeScript · React · Capacitor · Cloudflare Workers · Durable Objects · PlayFab
Platforms
Web · Android · iOS

The project

Mancala Rivals turns a game played for thousands of years into quick one-on-one matches: Sungka with seven pits and Kalaha with six, plus faster arcade boards. It is a free-to-play game for phones and the browser, launching first in the Philippines, where Sungka is played at home.

What we built

  1. 01

    Matches the server referees

    Each match runs in its own Cloudflare Durable Object, which holds the board and applies the rules. Clients send moves, never results. A player who drops can rejoin the same match; one who stays away forfeits.

  2. 02

    Matchmaking and ranks

    A lobby that pairs players by rating, Elo-based ranks, rivalries with players you meet often, rematches, spectating and replays.

  3. 03

    Accounts and progression

    PlayFab accounts with a guest account that can be upgraded later, XP and levels, daily streaks, objectives, achievements, a shop and a locker of boards and pearls.

  4. 04

    An AI worth beating

    Boss Battle opponents that search ahead with minimax at graded difficulty, using the same rules engine as online play.

  5. 05

    One client, three platforms

    A React app that runs in the browser and, through Capacitor, as native Android and iOS apps, with layouts for phones held upright, tablets and desktop, plus haptics, ads and analytics on native.

What shaped it

  • Matches must stay fair when a phone drops or a client is tampered with, so the server decides every move.
  • The first audience plays on mobile data, so matches must survive patchy connections.
  • A match lasts minutes: getting into one has to be fast, including for guests.
01

The same match on desktop and phone

  • Recorded in the browser at desktop (1280×720) and phone (390×844, touch) sizes · Mancala Rivals dev build, Boss Battle stage 1

    One build in two browsers: a desktop window and a phone-sized touch screen, each playing the minimax AI. Captures and extra turns are called on the board as the rules apply them.

Delivered

Live on the web at mancalarivals.com and on Google Play. The iOS version is with App Review.

Start a project

Have a game in mind?

Tell us about your game and the art, design or development you need. We’ll come back to you with how we can help.