Case study · Nemesis Hive

Every minute of play sold, timed and accounted for.

Nemesis Hive runs gaming lounges where customers pay for time on a console. We built LoungeOS, a platform that sells each session and switches the station's TV on and off by itself, so no one plays without paying and every shilling reaches the till.

Client
Nemesis Hive · Kampala
We built
Back office, staff app, self-checkout, TV app
Platforms
Web · Android · Android TV
Stack
Laravel · Vue 3 · Kotlin · Reverb · FCM
LoungeOS reports: revenue by station and by payment method
The challenge

A busy lounge leaks money in small ways.

Time tracked on paper, consoles left running after a session ends, and cash that doesn't match at the end of a shift. Across several branches, nobody could see the whole picture.

  1. 01Stop unpaid play. A station's screen only works while a paid session is running.
  2. 02Replace manual tracking. Sessions start, warn and end on their own.
  3. 03Close every shift to the shilling. Each attendant's cash, mobile money and card takings reconcile.
  4. 04See every branch live. One back office for stations, devices, pricing, staff and reports.
What we built

Four apps, one source of truth.

Every app talks to one API. The API decides session state, pricing and payments; the apps only show it and carry out its commands.

  • Web · managers

    Back office

    Branches, stations, TV devices, pricing, coupons, staff, shifts, audit logs and reports.

  • Android · floor staff

    Attendant app

    Sell and extend sessions, take payment, open and close a shift.

  • Phone browser · customers

    Self-checkout

    Scan the QR code on the station's screen and pay for time without queuing.

  • Android TV · every station

    Station app

    A locked-down kiosk that hands the TV to the console when a session starts and takes it back when time is up.

LoungeOS APISession engine · device control · shifts · reportsLaravel · PostgreSQL · Reverb WebSockets · Firebase Cloud Messaging
How a session works

From payment to play in seconds.

  1. 01 · Sell

    An attendant sells time, or the customer scans the station's QR code.

  2. 02 · Pay

    Cash, mobile money or card, recorded against the attendant's open shift.

  3. 03 · Unlock

    The API tells the station's TV to hand over to the console, over WebSockets and push at once.

  4. 04 · Warn

    Near the end, the session moves to Warning so staff can offer more time.

  5. 05 · Lock

    Time's up: the TV locks again and the station is ready to sell.

Engineering decisions

Built for a venue where the Wi-Fi drops.

  • The server is the only authority

    Session state, pricing and payments live in one place. A TV or phone can't change them, so a tampered device can't give away free time.

  • Every command sent twice

    Lock and unlock go out over WebSockets and Firebase push. Commands are versioned and idempotent, so a repeat does no harm.

  • Real kiosk lockdown

    The station app runs as Android Device Owner on the TV itself, so customers can't exit it, without a separate box behind every screen.

Inside the back office
What runs differently now

Rules the lounge no longer has to enforce by hand.

  • No paid session, no play.

    Every station's TV only hands over to the console while a paid session is running.

  • Every shift closes with a count.

    Each attendant's expected and counted takings sit side by side, with the variance flagged.

  • Every branch in one place.

    Stations, devices, prices, staff and reports for every location, from one back office.

“Running the lounge used to mean chasing time on paper and cash that never quite matched at the end of a shift. With LoungeOS, a console only plays when a session is paid for, every shift closes with a count I can trust, and I see every branch from one screen.”

Mpande Andrew, Owner, Nemesis Hive

Nemesis Hive and ANEBRA share an owner. We built LoungeOS for the lounge.