clojure snake a work in progress
- Prevent moving ontop of self
- When the snake moves out of the window bounds, the snake should wrap around
- Add apples that you can eat
- When you eat an apple grow the snake
- When you eat an apple lay down another apple
- Slowly increase speed
- End the game when the snake runs into itself
- Add score to title bar ...
score = (.2 * time-alive * apples eaten)
- Allow a user to restart the game
- Apples should not be placed on top of other apples or on top of the snake
- Add a start screen
- Add an autoplay mode
- Add an optional computer AI mode
- Add a difficulity slider (1 - 10) determines growth and speed
- Use left and right arrows to steer snake in continuous angles
$ lein repl
$ (require 'clojure-snake.core)
$ (clojure-snake.core/game)
When you make a file change run to reload
$ (require 'clojure-snake.core :reload-all)