rentonhead

Okeyname Mobile game · iPhone and Android

A free okey game for iPhone and Android: classic okey, 101, partner play and a card-based mode, offline against bots or at online tables on my own game server.

Client
Own product · App Store · Google Play
Year
2026
Role
Game design · Godot development · Game server · Store release
Status
Live

Problem

Okey is a rules game played by people who notice every mistake. A wrongly accepted set or a miscounted 101 opening ends trust in the app. Online, the phone cannot be trusted at all: if the client knows other players' tiles, someone will read them. And the game had to be one product on two stores, with purchases that cannot be faked.

Approach

One Godot 4 codebase for both platforms, with the rules engine kept apart from the screen code so it can be tested on its own. Online tables run on Nakama with PostgreSQL on my own server: the server deals, checks every move and sends each player only their own tiles, so the phone only draws what the server has confirmed. Empty seats are filled by bots after a short wait and a dropped player's seat is played by the server, so tables do not break up. Every StoreKit 2 and Google Play purchase is verified on the server before anything is granted; reporting goes to RevenueCat from the server, since there is no RevenueCat SDK for Godot.

Result

Released on the App Store and Google Play in the first week of December 2026. Free, no account needed, in Turkish. Cards and masters that matter in play can be earned by playing, so paying only speeds things up; ads pay for the free game, and there is no real money and no gambling.

What’s inside

  • Classic okey, 101, partner okey and a card-based mode
  • iPhone and Android players at the same online table
  • Server-authoritative tables on Nakama: no client can see other hands
  • Bots fill empty seats; dropped players are covered by the server
  • Purchases verified on the server, reported to RevenueCat without an SDK
  • Rules engine with automated tests, separate from the UI

Stack

Godot 4GDScriptNakamaTypeScriptPostgreSQLStoreKit 2Google Play BillingRevenueCatAdMob

Under the hood

The code layer of this project — modules and moving parts.

okeyname/tree --depth 2
game          Godot 4 · GDScript · one codebase for iPhone (iOS 17+) and Android
rules         engine separate from the screen · automated tests (runs, sets, 101 opening)
online        Nakama game server · TypeScript match handlers · PostgreSQL
tables        server deals and checks every move · bots fill empty seats · private 4-letter codes
billing       StoreKit 2 · Google Play Billing · every purchase verified on the server
reporting     server → RevenueCat REST API (no Godot SDK) · AdMob