Give Snake its sprites and an original chiptune (0.77.0)
pauljd/davidson-ci: Davidson CI / quality (push) Failing after 2m9s
pauljd/davidson-ci: Davidson CI / ai-review (push) Failing after 1m21s

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-11-02 14:51:36 +00:00
co-authored by Claude Opus 5.5
parent 458eb042c9
commit 847c9a108d
14 changed files with 124 additions and 24 deletions
@@ -69,7 +69,7 @@ class SnakeGameTest {
val moved = game(3 to 5, 2 to 5, 1 to 5).step(random)
val halfway = snakeLine(moved, before, .5f)
assertEquals(3.5f to 5f, halfway.first())
assertEquals(3f to 5f, halfway[1])
assertEquals(2.5f to 5f, halfway[1])
assertEquals(1.5f to 5f, halfway.last())
assertEquals(4f to 5f, snakeLine(moved, before, 1f).first())
assertEquals(4f to 5f, snakeLine(moved, null, .5f).first())