BumbleHive is rebuilt natively (arcade/hive), drawn on a Compose Canvas and playing exactly as assets/orbithive/game.js did: the 200 levels, shooting, bounces, landing, bursts and falls, swaps, Honeybombs, the ceiling timer, scoring and stars, weighted aim, level pages, help and settings, Bumble's Daily Bonus, both skins, the bee and flowers, the same beeps as tones and the Barlow font. It uses the Arcade's pause menu, How to Play, result card, Reduce motion, quiet ceiling and per-profile saves. The WebView game path and ArcadeFlags.hiveProfileSaves are gone; assets/orbithive stays for the import and a safe rollback. Parity with game.js run under Node: 200/200 levels, 469/469 scripted landings and 26/26 shot paths identical. The old WebView save (localStorage orbithive-save-v1) is read once by a hidden WebView on the same URL and kept as a read-only Household save any profile can continue from as a copy; the key and the WebView data are never written. Hard mode (on the title): ceiling x0.6 (min 5 s), 3 swaps, colours every 10 levels, its own save. 33 Kotlin and 5 Node tests; 0 bytes allocated per frame in steady play. Docs: docs/bumblehive-native.md, docs/VERIFICATION-bumblehive-native.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
7 lines
421 B
Bash
Executable File
7 lines
421 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# BumbleHive's own tests (Orbit Arcade Stage C): the save migration plan (hive-save.js) and the real game.js run headless
|
|
# against a stub canvas, and (native BumbleHive) the parity record and the read-only save import script. Needs Node 18 or later; nothing is installed, nothing touches a TV.
|
|
set -euo pipefail
|
|
cd "$(dirname -- "${BASH_SOURCE[0]}")/.."
|
|
node --test android/app/src/test/js/*.test.js
|