Files
OrbitTv/docs/VERIFICATION-orbi-raiders.md
T
pauljdandClaude Opus 5.5 760c957818 Orbi-Raiders: power-ups as on the Stage B sheet
Paul decided the approved power-up sheet wins over the brief: Turbo Tuner
lasts 10 s, Double Broadcast 12 s, and the Guide Bomb clears one row (the
lowest occupied row of the grid, divers included, a Corrupt Pixel doesn't
split; the Dead Channel and its sprites are immune). Tests and the prototype
doc updated (43 Raiders tests pass).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 20:31:40 +00:00

5.5 KiB
Raw Blame History

Orbi-Raiders prototype: verification (8 November 2026)

Branch arcade-orbi-raiders from arcade-stage-c (cdc3629), worktree /home/pauljd/Documents/OrbitTV/orbit-arcade. Version name and code unchanged (0.110.5-arcade-stage-c, 281): a prototype for review, not a release. Nothing pushed, merged or installed; neither TV touched; orbit-tv and orbit-tv-release left alone. What it is: docs/orbi-raiders-prototype.md.

Checks

One Gradle run (assembleDebug assembleRelease testDebugUnitTest lintDebug, with orbit-tv's .tooling), against the arcade-stage-c APKs and lint report already on disk from its own build.

arcade-stage-c arcade-orbi-raiders
Build (debug and release) passed passed
Kotlin unit tests 772 run, 24 skipped, 0 failed 814 run, 24 skipped, 0 failed (42 new)
Lint 0 errors, 76 warnings 0 errors, 76 warnings: the same issue kinds with the same counts, none new
Debug APK 51,885,071 bytes 52,019,816 bytes (+134,745)
Release APK 47,646,307 bytes 47,728,227 bytes (+81,920, +0.17%)

The 24 skipped are the same hand-run replays as before. The Stage C debug APK was built at 07dd4b6, before the version bump in cdc3629 that changed only the version; the release APK is cdc3629's own (the one installed downstairs).

Four Stage C tests used Orbi-Raiders as their example of a coming-soon card (ArcadeSessionTest, KidsArcadeTest). They now use Channel Chaos, which still is, and the Kids-suitable count went from 7 games to play to 8.

New tests (src/test/java/tv/orbit/classic/arcade/raiders)

  • RaidersSimTest (25): a shot hits the invader above; Blaze's narrow shot misses where Ollie's hits; Zip pierces one; Satellites take three hits; Corrupt Pixels split into two halves either side; Void Broadcasts only hittable while showing; a hit costs a bar then a moment of safety; the last bar ends the run and freezes it; the same seed builds the same waves and other seeds other mixes; a whole bot run is identical for the same seed; waves grow and kinds arrive in turn (Gentle a row fewer); the Dead Channel on wave 5, its attacks warned, beaten into the result card and on to wave 6; Restart Level back to the wave's start; combo ×2/×3/×4 thresholds, nine kills at ×1 then ×2, reset on a hit; wave-clear bonus; power-ups: only one timed at a time, a new one replaces it, instant ones leave it alone; each timed one lasts its seconds; Signal Shield soaks one hit; Guide Bomb clears the lowest occupied row (bosses immune; changed 8 Nov to the power-up sheet, with Turbo Tuner 10 s and Double Broadcast 12 s); Double Broadcast fires two; Rewind pushes the wave up; Overdrive needs a full meter, each pilot's own (Luna slows time, Blaze can't be hit); Luna's shield regrows; pause freezes the simulation (ten seconds paused: no ticks and no time saved up); a long frame is at most 5 ticks; holding fire shoots at the fixed rate (5 shots a second for Ollie); the ship speeds up while held, Blaze faster.
  • RaidersPlayTest (14): a held OK's repeats add no presses; mashing OK, including a second "down" with no release, never beats the fixed rate; ▲ one Overdrive per press; held moves and pause forgetting them; auto-fire assist; every run saved once when the signal is lost, on Exit (and the screen's dispose after it), on Retry and when the screen goes away; the best wave kept; top 10 only; Kids start on Gentle, grown-ups Normal, a choice wins and survives the file; Gentle really is gentler on every number; Reduce flashing on and Auto-fire off until chosen, old files still read; Orbi-Raiders playable and in the Kids-suitable set.
  • RaidersBalanceTest (3): pilot balance (bot, Normal, 24 seeds, up to 10 min): score and damage per run within ±15% of the mean (all within 5%), damage/s and survival within ±50% (Zip trades one for the other by design); difficulty orders how far the bot gets; allocation: 10,000 ticks of bot play after a warm-up allocate 0 bytes (ThreadMXBean.getThreadAllocatedBytes), at most 49 sprites at once (cap 141, limit 150) and 40 sparks (cap 40), pools the same arrays and sizes throughout.

One real bug was found by the tests and fixed: a Corrupt Pixel's first half could take the parent's own pool place, so the second half was placed from the overwritten position.

Not checked

  • No emulator or AVD on this PC, and no TV was to be used: nothing was seen running. The title, play screen, HUD, pause and result cards, focus order, the feel of the controls and the frame times are checked only by the compiler, the unit tests and reading the code against frames 10-13 and 20-23.
  • Drawing allocation and frame times on the 2 GB box were not measured (only the simulation's allocation, on the JVM).
  • No sound was heard; the cues are the existing power_*.ogg files through ArcadeAudio.

Proposed check on the box (for Paul to approve; not run)

Read-only, while Paul plays, after an install he approves:

ADB=/opt/android-sdk/platform-tools/adb; D=192.168.0.252:5555; P=tv.orbit.classic; OUT=~/Documents/OrbitTV/audits/orbi-raiders-$(date +%Y%m%d-%H%M); mkdir -p "$OUT"
$ADB connect $D
$ADB -s $D shell dumpsys gfxinfo $P reset   # then about 2 minutes of waves 1-3
$ADB -s $D shell dumpsys gfxinfo $P framestats > "$OUT/play-gfxinfo.txt"; $ADB -s $D shell dumpsys meminfo $P > "$OUT/play-meminfo.txt"
$ADB -s $D shell dumpsys gfxinfo $P reset   # then the Dead Channel on wave 5
$ADB -s $D shell dumpsys gfxinfo $P framestats > "$OUT/boss-gfxinfo.txt"