data/claims/ice-hockey.yamlIce Hockey (NES ROM)
Game: Ice Hockey.
One second on Ice Hockey's game clock lasts 20 frames of the states that run the clock, and the clock holds still while a stop flag is set. ice-hockey/ice-hockey-clock-20-frames
About: Ice Hockey Time limit
CodeIce Hockey (USA) ·0x4EC1-0x4EFA — $CEB1-$CEEA: returns while $0412 is nonzero; $0438 counts 20 calls (reload $13) per second of $0437, minutes in $0436Ice Hockey (USA) · 0x78-0x79 — $8068: the frame counter $0D increment in the interrupt handlerIce Hockey (USA) · 0xE1-0xF2 — $80D1-$80E2: one state handler per frame, picked by $08, skipped while paused ($0432)Checked by claude-agent, 2026-11-30 — read the clock routine and the per-frame dispatch, and checked which state handlers call the clockChecked by a second AI model, 2026-11-30.Cited by: Ice Hockey
In an Ice Hockey face-off, a press made while neither side has any face-off points yet scores 8; later presses score 1 to 5 from a table indexed by the low two bits of the frame counter and a value set for each side. ice-hockey/ice-hockey-faceoff-weights
0x12DA-0x1304 — $92CA-$92F4: both totals ($03FD, $03FE) zero gives 8; otherwise adds table $92E9 at ($0D AND 3) OR the side's $03FB byte; 12 entriesIce Hockey (USA) · 0x11ED-0x1205 — $91DD-$91F5: sets each side's $03FB byte to 0, 4, or 8Checked by claude-agent, 2026-11-30 — read the scoring branch, all 12 table bytes, and the index setupRevised after a check by a second AI model, 2026-11-30: Says the points are face-off points.Cited by: Ice Hockey
When a computer side takes an Ice Hockey face-off, the game writes an A press into its input only on frames where the frame counter is a multiple of 8, and the press counts only if A was not held on the previous frame. ice-hockey/ice-hockey-cpu-faceoff-cadence
About: Ice Hockey Enemy AI
CodeIce Hockey (USA) ·0x1242-0x126F — $9232-$925F: when bit 0 of $00 is set, the other side's byte at $15+Y gets $80 if $0D AND 7 is zero; a press needs A in it and not in $17+YIce Hockey (USA) · 0x123D-0x1241 — $922D: Y is the human side's index with bit 0 flippedIce Hockey (USA) · 0xD02-0xD0A — $8CF2-$8CFA: the previous frame's buttons are savedIce Hockey (USA) · 0x352-0x378 — $8342-$8368: with bit 0 of $00 set, only one side is filled from a controllerChecked by claude-agent, 2026-11-30 — read the face-off input routine, the previous-button copy, and the controller copy that leaves the second side to the computerChecked by a second AI model, 2026-11-30.Cited by: Ice Hockey
In open play, when Ice Hockey's clock has run out, the period ends on a clock tick only if the puck is at rest or a player has caught it. ice-hockey/ice-hockey-period-waits-puck
About: Ice Hockey Time limit
CodeIce Hockey (USA) ·0x13BC-0x13CD — $93AC-$93BD: with the clock expired, ends the period only if $1A is nonzero or the puck speed $1C is zeroIce Hockey (USA) · 0x3EC3-0x3EC4 — $BEB3: the catch routine stores the holder's player number in $1AIce Hockey (USA) · 0x46A3-0x46E1 — $C693-$C6D1: the puck update that maintains $1CIce Hockey (USA) · 0x4F2A-0x4F2E — $CF1A-$CF1E: expiry is reported through the carry only on a tickChecked by claude-agent, 2026-11-30 — read the period-end test, the clock's carry result, and the writers of the two bytes it testsChecked by a second AI model, 2026-11-30.Cited by: Ice Hockey