about summary refs log tree commit diff stats
path: root/game.scm
diff options
context:
space:
mode:
authorCase Duckworth2023-06-01 23:24:36 -0500
committerCase Duckworth2023-06-01 23:24:36 -0500
commitbba87d2d253200d177daae44a5df969a0149dca2 (patch)
treecc2e62fe77af2b9fc2d7ccef6e56565b5b02780c /game.scm
parentChange name to apple and add makefile (diff)
downloadapple-bba87d2d253200d177daae44a5df969a0149dca2.tar.gz
apple-bba87d2d253200d177daae44a5df969a0149dca2.zip
Made the snake smart and added collision detection
- I made the snake smart!
  - now it follows the appple around the screen trying to eat it
  - figuring out collision logic and making sure the snake didn't eat itself and all was .. whoo boy, it was wild
  - but in the end it works well enough!
- Added game win/lose conditions
- Added fruit
  - will make that work tomorrow
  - hacky AS HECK! here be dragons yall
  - collision detection is full of special cases, and I don't like how it works
Diffstat (limited to 'game.scm')
0 files changed, 0 insertions, 0 deletions