SMERESKI
  1. PROJECTS
  2. RESUME
  3. BLOG
  4. CONTACT

PROJECT

2026 · 1.8k LOC

G2 Balatro

A full Balatro that runs on smart glasses — 576×288 monochrome, no pointer, no keyboard.

TypeScriptEvenHub SDKViteVitestEven Realities G2PRIVATE

G2 Balatro is the roguelike deckbuilder rebuilt to run on a pair of smart glasses. The display is 576 by 288 pixels, four-bit greyscale, with no pointer and no keyboard — input is the handful of gestures the glasses report. The constraint is the whole challenge.

The game underneath is not a demo. Nine poker hand types feed the real chips-times-mult scoring pipeline, levelled up by planet cards. Thirty jokers span the families that matter — flat adders, multipliers, per-suit, per-rank, per-hand-type, economy, and the scaling jokers that make a run snowball. A run is eight antes of three blinds each, won by clearing the ante-eight boss.

Everything around the table is there too: a shop with jokers, consumables, vouchers, and booster packs plus rerolls; eleven planets and three tarots; four voucher types; four boss-blind effects that bend the rules per ante. Save and resume serialize the whole run, versioned for migration and deterministic from a seed and an RNG cursor — the same seed replays the same game.

The architecture is a functional core: an immutable game state, reducers that take a state and an action and return the next state, and a dumb view that turns state into display containers with no logic of its own. The engine is entirely headless and covered by 136 tests; the glasses SDK and the Bluetooth calls live in a thin bridge at the edge. One firmware quirk leaked through — the suit glyphs are missing from the device font, so the renderer falls back to ASCII letters for legibility.

Verified in the G2 simulator across menu, play, shop, and pack-opening. Not yet run on physical glasses.