+ make -j3
mkdir -p build
cc  -O2 -g -std=c99 -Wall -Wextra -Wpedantic -MMD -MP -Isrc -c src/core.c -o build/core.o
cc  -O2 -g -std=c99 -Wall -Wextra -Wpedantic -MMD -MP -Isrc -c src/app.c -o build/app.o
cc  -O2 -g -std=c99 -Wall -Wextra -Wpedantic -MMD -MP -Isrc -c src/render.c -o build/render.o
cc  -O2 -g -std=c99 -Wall -Wextra -Wpedantic -MMD -MP -Isrc -c src/audio.c -o build/audio.o
cc  -O2 -g -std=c99 -Wall -Wextra -Wpedantic -MMD -MP -Isrc -c src/fm_synth.c -o build/fm_synth.o
cc  -O2 -g -std=c99 -Wall -Wextra -Wpedantic -MMD -MP -Isrc -c src/music.c -o build/music.o
cc  -O2 -g -std=c99 -Wall -Wextra -Wpedantic -I/mnt/data/rt-work/sdl/prefix/include  -MMD -MP -Isrc -c src/controller.c -o build/controller.o
cc  -O2 -g -std=c99 -Wall -Wextra -Wpedantic -I/mnt/data/rt-work/sdl/prefix/include  -MMD -MP -Isrc -c src/main.c -o build/main.o
cc  build/core.o build/app.o build/render.o build/audio.o build/fm_synth.o build/music.o build/controller.o build/main.o -L/mnt/data/rt-work/sdl/prefix/lib -Wl,-rpath,/mnt/data/rt-work/sdl/prefix/lib -Wl,--enable-new-dtags -lSDL3  -lm  -o glyph-division
+ make check
cc  -O2 -g -std=c99 -Wall -Wextra -Wpedantic -Isrc src/core.c src/app.c src/render.c src/audio.c src/fm_synth.c src/music.c tests/test.c -lm   -o build/test-core
./build/test-core
PASS: 128 maze seeds; reachable/unique objectives; deterministic layouts; 64 vertex-removal checks (minimum core coverage 96%)
PASS: levels 1-45 speed anchors + monotonicity, population unchanged, level-999 cap, normal lives/ammo/grace/cooldown
PASS: 512 teleports; centered cyclic destinations; cooldown; enemy-independent selection including occupied landings
PASS: 16,000 maximum-speed movement steps; wall invariants; buffered cornering; immediate mid-edge reversal
PASS: firing/ammunition/kill/respawn; six glyphs then exit; level advance; retained objectives after death; game over
PASS: complete six-glyph + exit route using real movement (119.6 simulated seconds, invincible test driver)
PASS: menu/start/pause/options; keyboard + pad rebinding; initials; saved settings/scores; practice exclusion; all screens rendered
PASS: six-tune attempt rotation + wrap; level/pause/title continuity; saved cursor; old/invalid settings; score migration; gameplay RNG unchanged
PASS: original synth/effects output finite and bounded; music + sound mute
ALL TESTS PASSED: 736950 assertions, 0.78 CPU seconds
+ make build/balance-player
cc  -O2 -g -std=c99 -Wall -Wextra -Wpedantic -Isrc src/core.c tests/balance_player.c -lm   -o build/balance-player
+ ./build/balance-player --replay docs/balance-upper/sharp-L40-lives6-1845713207.rtr
replay,1845713207,195939070,40,6,clear,6,1,116.958,5,2,23,14,0,0,0,19419,14377707998463622437
++ mktemp -d
+ tmp=/tmp/tmp.ajsmZivCKA
+ SDL_VIDEODRIVER=offscreen
+ SDL_RENDER_DRIVER=software
+ SDL_AUDIODRIVER=dummy
+ XDG_DATA_HOME=/tmp/tmp.ajsmZivCKA/data
+ XDG_CONFIG_HOME=/tmp/tmp.ajsmZivCKA/config
+ ./glyph-division --windowed --play --practice-level 40 --frames 90
Controller: NO CONTROLLER - KEYBOARD AVAILABLE
SDL 3.4.18 | video=offscreen | renderer=software | audio=dummy
SDL QA: rendered=90, audio_frames=73728, music=Vanishing Point, steps=8
+ rm -rf /tmp/tmp.ajsmZivCKA
+ echo 'PASS: clean packaged source compiled; shared tests passed; winning cap input replay matched; actual SDL frontend launched at level 40.'
PASS: clean packaged source compiled; shared tests passed; winning cap input replay matched; actual SDL frontend launched at level 40.
$ make balance-upper
python3 tests/run_balance.py --binary build/balance-player --out balance-upper-results --upper
good level 30 lives 3: 0/12 clears, 12 game overs, 0 timeouts; mean glyphs 3.17; mean duration 56.1s
good level 40 lives 3: 0/12 clears, 12 game overs, 0 timeouts; mean glyphs 2.50; mean duration 41.6s
sharp level 40 lives 6: 1/12 clears, 11 game overs, 0 timeouts; mean glyphs 3.92; mean duration 83.3s
36 real-core runs and deterministic input replays verified. Elapsed 3.8s
These are policy-specific experiments, NOT a certificate of human playability or impossibility.
$ cmp docs/balance-upper/results.csv balance-upper-results/results.csv
PASS: all 36 packaged comparison attempts and input replays reproduce the release CSV exactly.
