Hy4 Flash (none)
Play it
The implementation as the model delivered it, built with its own npm run build.
- ← →
- Move
- ↑ / X
- Rotate clockwise
- Z / Ctrl
- Rotate counterclockwise
- ↓
- Soft drop
- Space
- Hard drop
- C
- Hold
- R
- Restart after game over
Scores
Weighted total 4.70 out of 10. CommonJS browser startup failure; shifted L rotation, absent spin/PC scoring, gravity/reset/top-out/storage/input defects and phone overflow.
Confirmed bugs
Each bug lowers the correctness score: critical caps it at 4, major costs 1.5, minor 0.5. Full audit ↗
- CriticalThe delivered browser game cannot initialize
npm run build and all 19 Node tests pass. tsconfig emits CommonJS and index.html loads dist/main.js as a classic script. Both desktop and phone Chromium throw exports is not defined at main.js:2. Three 300x150 default canvases remain transparent after every required key and R. No loader or bundle is delivered.
- MajorThe L counter-clockwise state is shifted away from the SRS origin
L state 3 uses [(1,0),(2,0),(1,1),(1,2)] instead of [(0,0),(1,0),(1,1),(1,2)]. The other L states retain canonical origins. This changes rotations and kick acceptance. The independent comparison records 32 mismatches in 672 rotations. All 48 ordered kick tables themselves agree.
- MajorT-spin and perfect-clear scoring are absent
Real rotated zero-travel mini/full hard and timed locks score 0 instead of 100/400. Perfect-clear single/double/triple/Tetris score 100/300/500/800 instead of 900/1500/2300/2800. These related omissions form one advanced-scoring group. Ordinary clears, drop points, combos and no-clear B2B continuation pass.
- MinorGravity is capped at one row per frame
gravityForLevel rounds to integer frames and clamps to one. At level 15 the unchanged engine falls six rows in 100ms instead of fourteen. This is a Node frame-tick diagnostic, separate from browser delivery.
- MinorLock-reset state is inverted in air and stays exhausted after descent
After a natural one-row fall the engine marks an airborne T grounded=true. One subsequent legal lateral action consumes a reset. Exhausting fifteen actions on a ledge and descending to a genuinely lower floor fails to restore the allowance, so a move after 400ms does not renew the 500ms delay. These reset-state manifestations are grouped once.
- MinorAny occupied hidden row ends the game
An O at visible (0,-1), supported at (0,1), locks partly in the visible field with an unobstructed next spawn. isToppedOut still ends the game because it checks every hidden cell on the board. The wholly hidden control correctly ends play.
- MinorLocking above the two-row buffer discards a mino
A legal vertical I at visible (-2,-3), supported at (0,1), locks only three I minos plus the support. Its fourth mino above storage is discarded. This storage defect is distinct from premature partial lock-out.
- MinorKeyboard repeat remains held after window blur
Using the unchanged InputHandler with a diagnostic event sink, press ArrowLeft, blur, then tick twelve frames. The T continues from x=2 to x=0 without a new keydown. No blur listener clears the down/held sets. This Node input diagnostic cannot establish working browser input.
- MinorThe static phone layout overflows and clips its top
At 390x844 DPR2 the unmodified failed-delivery page has scrollWidth=438. Default 300px preview canvases overflow the 140px side panels, and vertical flex centering places the hold section above the reachable top. The browser UX score follows the established 6.5 static-presentation calibration.
Usage and cost
Tested-agent tokens only. Harness overhead for this run is not verified; unknown does not mean zero. Cost is an estimate at the model's public API list price.
| Type | Tokens | Share |
|---|---|---|
| Input | 42,089 | 3.0% |
| Cache read | 1,343,232 | 95.4% |
| Cache write | 0 | 0.0% |
| Output | 22,688 | 1.6% |
| Total | 1,408,009 | 100% |
No cost estimate: The selected OpenCode Go endpoint is free for a limited time. A comparable paid public API rate has not been verified; no paid-model comparison cost is assigned.
Elapsed 3m 46.644s · model responses not recorded