Snake
Classical Snake game written in Clojure using Quil library. Use arrow keys or w s a d
to control snake's head, try to eat all the food and not touch snake's body. Snake itself constantly changes colours and looks fancy.
Usage
LightTable - open core.clj
and press Ctrl+Shift+Enter
to evaluate the file.
Emacs - run cider, open core.clj
and press C-c C-k
to evaluate the file.
REPL - run (require 'snake.core)
.
License
Copyright © 2014
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.
Note about this fork...
You can find the original presentation video here:
https://skillsmatter.com/skillscasts/9154-quil-it-a-lightweight-introduction-to-quil-library
SEM: The presentation shows code that keeps the state of the game in several atoms. I revised the code to use a more functional style, with no need for atoms. This repository is my forked version of the game.