BumbleHive: Hard mode gets its own High Scores table
Paul chose a separate list. Hard runs are saved only under their own record (HiveHard) in the profile's Arcade file; Normal's stay under Hive exactly as before, so the "· Hard" marker is gone. High Scores shows a Normal / HARD switch on BumbleHive's row (Left/Right), and the Top 10 says which table it is. Clear high scores for BumbleHive clears both. Kids filtering and per-profile storage are unchanged. 5 new tests (tables never mix, Normal's data untouched, files from before). 853 run, 24 skipped, 0 failed; Node 28 passed; lint unchanged; release APK unchanged in size. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -5,7 +5,18 @@ worktree `/home/pauljd/Documents/OrbitTV/orbit-arcade`. Version unchanged (0.110
|
||||
a release. Nothing pushed, merged or installed; no TV or adb used; `orbit-tv` and `orbit-tv-release` left alone. What it
|
||||
is: `docs/bumblehive-native.md`.
|
||||
|
||||
## Checks
|
||||
## Update: Hard's own High Scores (8 November 2026, second commit)
|
||||
|
||||
Paul chose a separate High Scores table for Hard. Same Gradle run afterwards: **853 run, 24 skipped, 0 failed** (5 new in
|
||||
`HiveScoresTest`), Node 28 passed, lint 0 errors and 85 warnings (unchanged, no new kinds), release APK 47,793,763 bytes
|
||||
(unchanged to the byte), debug +82 bytes.
|
||||
|
||||
`HiveScoresTest`: each mode reports only to its own table; a dozen Hard runs leave Normal's record and its JSON in the file
|
||||
identical, and Normal runs leave Hard's alone; a file from before reads with an empty Hard table; the row's switch, label and
|
||||
Top 10 title (every other game has one table and no switch, and `HiveHard` is not a game); Clear high scores clears both
|
||||
BumbleHive tables and nothing else.
|
||||
|
||||
## Checks (first commit)
|
||||
|
||||
One Gradle run (`assembleDebug assembleRelease testDebugUnitTest lintDebug`, orbit-tv's `.tooling`), against `760c957`
|
||||
built the same way in a scratch worktree.
|
||||
|
||||
@@ -13,7 +13,7 @@ Compose Canvas like the other Arcade games, replacing the WebView, and playing e
|
||||
the old localStorage, the Barlow font is read from it, and keeping it makes a rollback to the WebView build safe.
|
||||
- Shared Arcade parts: the pause menu (Resume, Restart Level, How to Play, Sound, Exit to Arcade), How to Play, a result
|
||||
card in the Arcade's style, Reduce motion, the Quiet / Wind Down sound ceiling, per-profile saves in `ArcadeStore`,
|
||||
High Scores (each level played is a run; Hard runs say "· Hard").
|
||||
High Scores (each level played is a run; Hard has its own table, below).
|
||||
|
||||
| File | What it is |
|
||||
|---|---|
|
||||
@@ -110,8 +110,17 @@ Chosen on BumbleHive's title (**MODE: NORMAL / MODE: HARD**, right of Play); rem
|
||||
| Layouts | the 200 levels | the same shapes, rows and random draws; with more colours the flowers are coloured differently |
|
||||
| Save | Normal's unlocks, stars, bests, page | its own, starting at level 1; never reads or writes Normal's |
|
||||
|
||||
Honeybombs, the daily spin and the skin, guide and sound choices belong to the profile, whichever mode. High Scores has one
|
||||
BumbleHive list; Hard runs are marked "· Hard".
|
||||
Honeybombs, the daily spin and the skin, guide and sound choices belong to the profile, whichever mode.
|
||||
|
||||
### Hard's own High Scores (Paul, 8 November 2026)
|
||||
|
||||
- Hard runs are saved only into a separate table, record id `HiveHard` (`HIVE_HARD_SCORES`) in the profile's Arcade file;
|
||||
Normal runs stay under `Hive`, exactly as before. The two never mix, and no "· Hard" marker is needed.
|
||||
- High Scores: BumbleHive's row shows a **◀ Normal ▶** / **◀ HARD ▶** switch (Hard in pink); ◀▶ on that row changes
|
||||
table, and the Top 10 is headed "BUMBLEHIVE HARD · TOP 10". The footer says so when BumbleHive is visible.
|
||||
- `HiveHard` isn't a game: no card, no settings, nothing extra for Kids filtering (it follows BumbleHive's visibility).
|
||||
- Reset › Clear high scores for BumbleHive clears both tables; nothing else touches `HiveHard`.
|
||||
- Existing files simply have no `HiveHard` yet: Normal's data is read and written unchanged.
|
||||
|
||||
## Known gaps
|
||||
|
||||
|
||||
Reference in New Issue
Block a user