A terminal based snake game in Common Lisp; written over the holiday weekend.
cd
into project root directory:
- 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
(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)