Skip to content
Play snake in the terminal
Common Lisp Dockerfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
Dockerfile
LICENSE
README.md
cl-snake.asd

README.md

cl-snake

A terminal based snake game in Common Lisp; written over the holiday weekend.

Building and Running

cd into project root directory:

docker

  1. build image: docker build . -t cl-snake:v1
  2. get inside container: docker run -it --rm cl-snake:v1
  3. start game inside container: ./cl-snake
  4. try and enjoy yourself
  5. 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)
You can’t perform that action at this time.