karata
Two card games for Android, Mysterio and Classic, to play with friends on one phone or against Easy, Medium and Hard bots.
- Year
- 2026 · version 1 finished, Play Store release next
- Stack
- Flutter · Dart · Riverpod · Android · GitHub Actions

The problem
I wanted to play our family card games anytime, even with no one around, so I built bots worth playing against.
My role
Solo project: I wrote the rules spec, designed the screens, planned every step and reviewed every pull request, building with an AI coding assistant (Claude Code) inside a strict test-and-CI workflow.
Key decisions
Pure-Dart engine
The game rules live in a separate package with no Flutter imports: the state is immutable, and every move returns a new state. The rules are tested without any UI.
Seeded randomness
Every shuffle comes from a seeded random generator whose state is a single number, so any game can be replayed exactly and a saved game continues the same way.
Fair bots
Each player and each bot only sees its own hand. Hard bots remember only the cards the table actually saw, so they never cheat.
Screens

Game setup

A Mysterio turn

A Classic trick

How to play
Results
- 350+automated tests, including stress tests that play 32,000 random games and check every move
- 4languages: English, French, Kirundi, Swahili
- v1signed release build, Play Store release coming next
What I learned
- Writing the rules down before coding, and turning every example into a test, saved me from countless bugs.
- A bot that's fun to play against is a design problem, not just an algorithm: it must be strong but never cheat.