Build story · Nov 16 to 20, 2026

Couch.io, from a napkin idea to a playable game

An online arena game for Roku TVs where every living room is one spaceship and the family crews it from their phones. Planned one night, then built phase by phase with an AI build loop and checked on real TVs, in about two days. Two more days took it to a beta channel on Roku.

~39 hfirst commit to a playable game
169commits
1,500+automated tests
16.4klines of BrightScript on the TV
v14of the TV-to-server protocol

The flight path

Each stop is a phase from the build plan, in the order it happened. Times are Central.

P
Mon Nov 16 · late nightdesign docs

Research and the plan

Picked the concept, then wrote the whole plan before any code: game design, technical design, a phased build plan with fallbacks, and a risk list.

Decided
  • One couch = one ship, crewed from phones by QR code. No app install
  • A drop-in arena with a 10-minute "Crunch" finale, so it works with 3 couches or 30
  • Must run on the cheapest $30 Roku stick: 512 MB, 720p
  • Roku OS 16+ only, WebSockets only
  • Crew size changes how a ship plays, not how strong it is
  • Free to play, light ads, a one-time $4.99 Crew Pack
The big call

Every design choice had a "done when" number, and a fallback design ready if the hardware said no.

The couch-shaped spaceship was sketched the same night.

0
Tue Nov 17 · 12:35 am to 10 am18 commits

Benchmark spikes

Nine small test programs to measure the hardware and the network before writing the game.

Built
  • A Roku benchmark channel for sprites, prediction, audio and snapshot parsing
  • The arena simulation and a server tick benchmark
  • A two-house sync test and a WebSocket soak test
  • A LAN tap-to-pixel test server
  • Tools that collect and summarize results straight from the TV
Found

150 rotating sprites held 60 fps on the TCL TV. The bar was 30.

Hosted PartyKit had shut down in October, so the server moved to PartyServer on our own Cloudflare account.

1
Tue · 10 am to 3 pm22 commits

The vertical slice

One ship, the remote, bots, and the real server, end to end on a TV.

Built
  • Shared simulation package and protocol v1
  • 20 Hz authoritative server with reconnect
  • The Roku channel: intro, screens, OS 16 check
  • Smooth interpolation, bullets, dust and HUD
  • Own-ship prediction and a leading camera
  • Device tiers, memory levels and a debug overlay
Bug of the day

The server ticked at 19.14 Hz instead of 20, and ships rubber-banded. A fixed-step clock and acking the right tick fixed both.

2
Tue · 3:30 pm to 7 pm16 commits

Phones as the crew

The TV itself serves the controller page to phones on the home Wi-Fi.

Built
  • A web server and WebSocket server written in BrightScript, running on the TV
  • QR code join and the hangar lobby
  • Merging several phones into one ship
  • A cloud fallback when the Wi-Fi blocks phones
  • Round joysticks for helm, turret and tractor
  • The Azimuth Software intro sting
Found

Phone to TV round trip on the home network: 7 ms

3
Tue 7 pm to Wed 6:45 am20 commits

The game itself

Everything that makes it fun: growth, combat, crew stations and the Crunch.

Built
  • Levels 1 to 10, the dust fountain, keep 20% on death
  • Couch-ship art by level, sound effects and music
  • Shield parry, boost ram, tractor beam and mines
  • Power-ups: heavy rounds, rapid fire, repair
  • The Crunch cycle with a crown and 5-second respawn
  • Minimap, leaderboard, and bots with skill levels
Tuned on the couch

Ships now turn twice as fast, so a ship can turn and return fire.

A 3-digit Wi-Fi code that phones can type when the QR won't scan.

4
Wed · early morning8 commits

Matchmaking and scale

Getting many couches into the right arenas, safely.

Built
  • A matchmaker with friend codes and a version gate
  • Signed session tokens
  • A load test with simulated TVs and cloud phones
  • Generated, family-safe couch names
  • Device health reports from TVs in the wild
Milestone

First pull request merged. Empty arenas now shut down after 2 min to save cost.

5
Wed · 8 am to noon22 commits

Progression and money

Reasons to come back tomorrow, and a way to pay for the servers.

Built
  • Couch XP, ranks, and a crown wall
  • Home state and the weekly state leaderboard
  • Daily missions and the first-crown bonus
  • Hull paints and engine trails
  • Roku ads, the Crew Pack through Roku Pay, private arenas
  • Instant replay of the last 10 seconds
Rule kept

Nothing that changes gameplay power is for sale. Ads never play during flight.

★
Wed · noon to 3 pm6 commits

Polish on real TVs

Playing it in the living room and fixing what felt off.

Built
  • A round arena with a glowing edge
  • Easier bots, and the shield wins the energy bar
  • Phone joysticks that reach the edges, plus a turbo button
  • Screensaver stays off during flight
Wrong suspect

The channel kept getting killed, and a change to how the music plays took the blame. The real causes turned up that night.

6
Wed · 3 pm to 11 pm19 commits

Hardening for certification

Making it pass Roku's checklist and survive the real world.

Built
  • A game survives a server restart
  • A Wi-Fi join code that stays the same for each TV
  • A check that no secrets reach any log
  • Release builds, and Roku's certification behaviors
  • Accessibility basics
  • Phones that drop find their way back on their own
Crash hunt

Two bugs were getting the channel killed: a message loop that began with the player's first death, and sound effects restarted while still playing. The music was never the cause.

7
Wed 11 pm to Thu 9 am31 commits

Reasons to share and come back

A review of the working game found nothing that carried it to the next household, and little reason to open it again tomorrow.

Built
  • A results card and a Share button on every phone
  • Who blew you up, a kill feed, and callouts like "PARRY!"
  • A Crunch that closes in until it ends in a duel
  • A recap card, a day streak, and missions sized to the crew
  • The Comet paint, unlocked by sharing
  • Crunch Night on Fridays and Saturdays
  • Coaching for a couch's first flights
  • East and west arenas once enough couches are online
Rule added

Bots can't win crowns, and a couch has to fight or scoop dust that round to earn one.

★
Thu evening to Fri morning7 commits

A logo and a beta channel

The game gets a face, and a first build goes up to Roku.

Built
  • A kill now takes half the victim's score
  • The screensaver is held off only while phones are playing
  • The Couch.io logo as the home-screen icon and splash
  • Store listing copy, and Crew Pack art on its screen
  • The game's own privacy, terms and support pages
  • A Roku beta channel with a signed build
Found

Roku's static analysis of the beta build: 1 error and 8 warnings. None stops a beta, and all need an answer before certification.

8
Up next

Beta households and certification

Put it in front of families who didn't build it, then submit it to Roku.

  • The first beta households
  • An answer for every static analysis finding
  • The Crew Pack on sale through Roku Pay
  • Store screenshots from the running game
Then

Certification, then the Roku Channel Store.

How each phase got built

The same loop ran for every phase: a plan, an AI build loop, a strict gate, and a human test on real TVs.

1

Plan

Design docs set the target and the "done when" bar for each phase.

2

Task list

Each phase becomes an ordered list of small, testable tasks.

3

Build loop

AI coding sessions take one task at a time, tests first.

4

Quality gate

Typecheck, more than 1,500 tests, BrightScript compile and lint. Nothing commits until it's green.

5

Real TVs

Sideload to the 75" and 55" TCL Roku TVs, play, measure.

What the TVs show goes back into the plan

What the hardware taught us

Roku TVs can get stuck at 48 fps

After waking from standby, both TCL TVs were rendering at a film rate of about 48 fps, even on Roku's own menus. That became a product idea: check the frame rate before a match and fix it.

Move things on the render thread

Letting Roku's animation nodes move every ship, and running code only when an update arrives, left about 5x headroom on sprites. Prediction ran under 0.9 ms against a 2 ms budget.

Measure, then decide

A WebSocket test "failed" from a bug in our own client, not the platform. Fixing it in Phase 1 kept WebSockets as the plan instead of falling back.

Couch.io · a game by Azimuth SoftwareNumbers from the project's git history and spike results, Nov 20, 2026