Repository navigation
Unify game UI and introduce Size it up from October 15 - #8
Merged
Merged
Conversation
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.
All eleven games now share a full-screen layout, theme-independent typography, play surfaces, controls, and score-first result panels. The game menu shows every option immediately with a clear selected state.
Size it up replaces Proportions in practice and in daily games dated October 15, 2026 onward. Players resize a rectangle against a fixed reference square; width and height are independent. The reveal overlays the target grid and reports both dimensional errors.
Compatibility: daily schedules and the trivia bank are unchanged. All 448 rounds generated for October 7–14 match the baseline exactly, with 3,136 matching score comparisons. Earlier ratio rounds, saved results, and shared-challenge identifiers remain supported. All 27 scheduled measurement slots from the changeover onward generate Size it up.
Scoring: let ew = abs(guessWidth / targetWidth - 1) and eh = abs(guessHeight / targetHeight - 1). Points = round(50 × (max(0, 1 - ew / 0.5)² + max(0, 1 - eh / 0.5)²)). Each dimension contributes equally and independently.
Validation:
Publishing uses the existing GitHub Pages workflow.