feat(js): m05 game and m06 view with fixtures and tests
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
08b462d5cc
commit
b83f94894e
@@ -13,6 +13,7 @@ const fixtureTests = (name, f) => {
|
||||
fixtureTests('m04-free-cells', freeCells)
|
||||
fixtureTests('m04-spawn', spawnApple)
|
||||
fixtureTests('m04-new-game', newGame)
|
||||
fixtureTests('m04-tick', tick)
|
||||
|
||||
// 3x2 board, one-cell snake, about to eat the apple at (1,0)
|
||||
const eating = freeze({
|
||||
|
||||
Reference in New Issue
Block a user