Most people who want an online version of a card or tile game picture the table: the tiles, the cards, the animation when a hand is won. That part matters, but it is perhaps a third of the work. The rest is invisible to players until it fails: who deals, who decides whether a move is legal, what happens when someone's phone loses signal, and how a purchase is checked. In this post I go through those parts using Okeyname, an okey game I designed, built and released on the App Store and Google Play in December 2026.
One codebase, two stores
Players do not care which phone their friends use. If iPhone and Android players cannot sit at the same table, half of every friend group is left out. Okeyname is written in Godot 4, a free and open-source game engine, so the iPhone and Android versions come from the same code and share the same online tables. A native app per platform is the right call for some products (my coffee app BrewClock is native SwiftUI because it leans on iPhone features like the Lock Screen and the Dynamic Island), but a game whose screen is a table gains little from it and doubles the work.
The rules engine comes before the graphics
Card and tile game players notice every mistake. A wrongly accepted set, a miscounted opening or a penalty applied twice, and they stop trusting the app. In Okeyname the rules live in their own engine, separate from the screen code, with automated tests for the cases players argue about. When you commission a game, ask how the rules are tested. If the answer is "we play it a lot", expect the bugs to be found by your players.
A game server that does not trust the phone
In an online game the phone cannot be the source of truth. If the app knows the other players' hands, someone will read them; if the app decides whether a move is legal, someone will change that decision. Okeyname's online tables run on a game server on my own infrastructure. The server deals the tiles, checks every move and sends each player only what that player is allowed to see. The phone draws what the server has confirmed, nothing more.
This is the part that separates a game that survives its first month from one that is quietly ruined by a few cheaters. It also decides where the costs are after launch: the server has to run, be backed up and be watched.
Empty seats and dropped connections
A four-player table needs four players. At launch there are rarely enough people online at every hour, so a quick table in Okeyname fills its empty seats with bots after a short wait. Phones also lose connection in lifts and on the metro. When a player drops, the server holds the seat for a while and then plays for them, so the other three do not lose their game. Friends who want to play together open a private table and share a short code.
Purchases and ads without breaking the game
A free game is usually paid for by purchases and ads. Okeyname follows two rules: the cards and masters that matter in play can also be earned by playing, so paying only speeds things up, and there is no real money to win. Every purchase is verified on the server with Apple or Google before anything is granted, because a message from the phone saying "I paid" can be faked. Sales are reported to RevenueCat, the same dashboard I use for my other apps, so revenue from both stores is in one place.
Release is part of the job
Store pages, screenshots, a preview video, age rating questionnaires, privacy declarations, each in-app product submitted for review with its own screenshot: none of this is code, and all of it has to be done before anyone can download the game. Apple and Google review separately and on their own schedule. Plan for it from the first week, not the last.
What to check in a proposal
- Does the server deal and validate moves, or does the app?
- How are the rules tested, and who wrote the test cases?
- What happens when a player disconnects mid-hand?
- Who owns the code, the server and the store accounts after launch?
- What does running the server cost each month, and who watches it?
I wrote more generally about how software quotes are built in custom software development cost.
Honest limits
What I have shipped is a turn-based tile and card game. Real-time action games need different server work (constant position updates rather than one move at a time), and I would tell you that upfront rather than learn it on your budget. Okeyname itself is in Turkish, made for players in Turkey. More about how I build apps for both stores is on the mobile app development page.
FAQ
Can iPhone and Android players play at the same table?
Yes, if both apps talk to the same game server. In Okeyname they do: players on either platform join the same quick tables and private tables.
Why not let the phones talk to each other directly?
Because then one of the phones has to be trusted with the whole game, including everyone's hands. A server in the middle is the only way to keep hands private and moves honest.
Do I need bots in a multiplayer game?
At launch, almost certainly. Without them, a player who opens the app at a quiet hour waits at an empty table and leaves. Bots also cover players who drop out mid-game.
Can one server run several game modes?
Yes. Okeyname's server runs classic okey, 101, partner play and a card-based mode side by side; each table knows which rules it follows, and the same checks apply to all of them.