1
0
Fork 0
mirror of https://github.com/imjasonh/nescript synced 2026-07-08 17:06:04 +00:00
nescript/examples/war
Claude 9137b1f713
examples/war: polish pass + README entry + plan close-out
End-of-implementation polish for the War example after the
compiler bugs were fixed:

- Title state now calls draw_big_war_banner instead of inlining
  12 draws — same pixel output, fewer lines.
- P_WAR_BURY redraws the previous round's face-up cards while
  the noise thumps fire so the table doesn't look empty for
  24 frames between the WAR banner and the new face-ups.
- Drop draw_word_war from render.ne (orphaned by the BIG WAR
  metasprite).
- Refresh comments in background.ne (now references the real
  felt tile) and deal_state.ne (drop the stale FRAMES_DEAL_STEP
  reference now that the deal pace is hard-coded at 2 frames).
- README.md and examples/README.md gain a war row.
- PLAN.md marks every implementation step complete and records
  the design revisions made along the way.
- Refresh the war audio hash to match the new ROM (the title
  screen helper change shifts one frame of pulse-2 timing
  enough to flip the FNV-1a). The frame-180 PNG is unchanged.

https://claude.ai/code/session_0143dTgh3UeRrtfHgQwzcv5z
2026-04-15 16:08:03 +00:00
..
assets.ne examples/war: working end-to-end War card game 2026-04-15 15:22:20 +00:00
audio.ne examples/war: working end-to-end War card game 2026-04-15 15:22:20 +00:00
background.ne examples/war: polish pass + README entry + plan close-out 2026-04-15 16:08:03 +00:00
compare.ne examples/war: working end-to-end War card game 2026-04-15 15:22:20 +00:00
COMPILER_BUGS.md ir: clear wide_hi between functions to fix 16-bit op aliasing 2026-04-15 15:57:26 +00:00
constants.ne examples/war: working end-to-end War card game 2026-04-15 15:22:20 +00:00
deal_state.ne examples/war: polish pass + README entry + plan close-out 2026-04-15 16:08:03 +00:00
deck.ne examples/war: working end-to-end War card game 2026-04-15 15:22:20 +00:00
PLAN.md examples/war: polish pass + README entry + plan close-out 2026-04-15 16:08:03 +00:00
play_state.ne examples/war: polish pass + README entry + plan close-out 2026-04-15 16:08:03 +00:00
render.ne examples/war: polish pass + README entry + plan close-out 2026-04-15 16:08:03 +00:00
rng.ne examples/war: working end-to-end War card game 2026-04-15 15:22:20 +00:00
state.ne ir: clear wide_hi between functions to fix 16-bit op aliasing 2026-04-15 15:57:26 +00:00
title_state.ne examples/war: polish pass + README entry + plan close-out 2026-04-15 16:08:03 +00:00
victory_state.ne examples/war: working end-to-end War card game 2026-04-15 15:22:20 +00:00