Context
Morabaraba is a traditional African strategy game, played in Southern Africa for centuries. Boards carved into rock at sites such as Mapungubwe are said to be about 800 years old. It is recognised in South Africa as an indigenous sport, governed by Mind Sports South Africa, with World Championships since 1997. Its digital versions had not kept up: a handful of generic Mill-game apps, playable but with weak opponents, no ratings and no competitive play.
Challenge
Make a traditional game compelling enough to be taken seriously as a global strategy game. That needs a strong engine as well as a polished app. There was a catch: Morabaraba is solved. With perfect play the first player can force a win, so an engine that simply plays perfectly would be unbeatable and no fun. Its strength had to be calibrated for people, from first-timers to tournament players.
Approach
We treated Morabaraba the way the best chess platforms treat chess: as a game whose value grows through ratings, competition and learning. The engine came first, then we shaped it into named South African opponents, each with its own rating and personality, so every player gets a fair game. The app is built in Flutter for the mid-range Android phones most players use, with the search running in the background so the board never stalls.
How it's built
- Engine Alpha-beta minimax with a multi-term evaluation, a custom opening book and Zobrist hashing, run on a background isolate.
- Opponents 16 AI characters, from Lesedi at 400 Elo to Zandile at 3000 Elo. The four strongest use a small neural network trained on a million self-play games.
- Online Ranked matches, live Elo ratings, tournaments and leaderboards.
- Backend Firebase Auth, Firestore and Realtime Database, with Cloud Functions for matchmaking, tournament scheduling and rating integrity.
Outcome
Live on the App Store and Google Play, with 10K+ downloads on Google Play and a 4.7 rating from more than 150 store ratings.
What we learned
- Players use it as a test. People come to measure themselves, and the ladder from 400 to 3000 Elo gives them something to measure against.
- Start on the web. If we started again, we would launch on the web first and bring the app in after it.
- It's not just the game. Getting the rules right is the start. Ranked play, ratings and tournaments are what bring players back.



