A terminal based snake game in Common Lisp; written over the holiday weekend.
Building and Running
cd into project root directory:
docker
- build image:
docker build . -t cl-snake:v1 - get inside container:
docker run -it --rm cl-snake:v1 - start game inside container:
./cl-snake - try and enjoy yourself
- exit container:
exit
lisp
(ql:quickload :cl-snake) (asdf:operate :program-op :cl-snake)
If you're running SBCL and want to ensure compression (uiop doesn't seem to handle it in the asd):
(sb-ext:save-lisp-and-die "cl-snake" :toplevel #'main:entry-point :executable t :purify t :compression 9)