Skip to content

feat: several featured games, chosen in the registry - #105

Merged
dmccoystephenson merged 1 commit into
mainfrom
feat/featured-games
Nov 22, 2026
Merged

dmccoystephenson merged 1 commit into
mainfrom
feat/featured-games

Conversation

@dmccoystephenson

Copy link
Copy Markdown
Member

Summary

The featured game was written into hall.py (FEATURED = "roam"). It is now chosen in the registry, and there can be several:

  • Registry: an optional featured: <n> per game in games.yaml, a whole number from 1 giving its place among the featured games. Two games may not share a number (refused with the line, like every other registry error). /api/games reports it as featured (null when unset).
  • Hall: the stage holds every featured game side by side, in registry order, left to right as seen from the door. The outer ones are turned slightly towards the room. The stage widens past three, and the centre walkway widens to the featured cabinets' spread, so each one stays in sight from the door. With none featured, the stage stands empty and the FEATURED sign is left off.
  • tools/hall_dev_server.py passes featured through from a snapshot. make_hall_media.py records it in arcade-hall.sources.json, which now marks Roam featured: 1 so the README picture's order still reproduces.
  • README (registry keys, hall layout) and CHANGELOG are updated. The README picture itself is unchanged and still shows Roam alone; it can be redrawn once the registry change is live.

The gateway's games.yaml change (Beyond Nations 1, Frozen Star 2, Primordial Rise 3, Roam 4) follows in a gateway PR. arcade-social vendors registry.py, so it is re-vendored first; otherwise arcade-social would refuse the new key.

Tests

  • python3 -m pytest: 698 passed, 1 skipped.
  • New tests cover: registry parsing, plus bad and duplicate ranks; four featured games in registry order on the stage, inside it, turned inward and centred; every featured cabinet in sight from the door (Python, plus hall_walk_test.cjs run against a one-featured and a four-featured hall); the empty-stage case; the /api/games characterization.
  • The first spacing (1.7 m) was caught by the sight test: the floor islands hid the outer two cabinets. That is why the walkway now widens.

🤖 Generated with Claude Code


drafted by Claude on behalf of Daniel Stephenson

An optional `featured: <n>` per game in games.yaml (a whole number from 1,
its place among the featured games; two games may not share one), reported
by /api/games as `featured`. The hall's stage holds every featured game side
by side in that order, the outer ones turned a little towards the room,
instead of Roam alone (hard-coded in hall.py). The centre walkway widens to
the featured cabinets' spread so each stays in sight from the door. With no
game featured the stage stands empty, with no FEATURED sign.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@dmccoystephenson
dmccoystephenson merged commit a90797d into main Nov 22, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant