Repository navigation
feat: several featured games, chosen in the registry - #105
Merged
Merged
Conversation
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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The featured game was written into
hall.py(FEATURED = "roam"). It is now chosen in the registry, and there can be several:featured: <n>per game ingames.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/gamesreports it asfeatured(nullwhen unset).tools/hall_dev_server.pypassesfeaturedthrough from a snapshot.make_hall_media.pyrecords it inarcade-hall.sources.json, which now marks Roamfeatured: 1so the README picture's order still reproduces.The gateway's
games.yamlchange (Beyond Nations 1, Frozen Star 2, Primordial Rise 3, Roam 4) follows in a gateway PR. arcade-social vendorsregistry.py, so it is re-vendored first; otherwise arcade-social would refuse the new key.Tests
python3 -m pytest: 698 passed, 1 skipped.hall_walk_test.cjsrun against a one-featured and a four-featured hall); the empty-stage case; the/api/gamescharacterization.🤖 Generated with Claude Code
drafted by Claude on behalf of Daniel Stephenson