clog/demos
2021-01-17 14:01:06 -05:00
..
01-snake-game.lisp add some buttons for iphone 2021-01-17 14:01:06 -05:00
README.md Snake Game Demo 2021-01-17 03:09:53 -05:00

To run a demo, start emacs/slime or your CL Lisp in the common-lisp/clog directory:

CL-USER> (ql:quickload :clog)
To load "clog":
  Load 1 ASDF system:
    clog
; Loading "clog"
...........................
(:CLOG)

Load the demo:

CL-USER> (load "/Users/dbotton/common-lisp/clog/demos/01-hello.lisp")
#P"/Users/dbotton/common-lisp/clog/demos/01-hello.lisp"

Start the demo:

CL-USER> (clog-user:start-demo)
Hunchentoot server is started.
Listening on 0.0.0.0:8080.
HTTP listening on : 0.0.0.0:8080
HTML Root         : static-files/
Boot file default : /boot.html

Most demos startup a browser, if not use http://127.0.0.1:8080

Demo Summary

  • 01-snake-game.lisp - Snake Gamey