23 lines
532 B
Common Lisp
23 lines
532 B
Common Lisp
(defpackage :remote-snake-server-game
|
|
(:nicknames :rsg)
|
|
(:use :common-lisp)
|
|
(:export
|
|
#:game
|
|
#:dump
|
|
#:refresh
|
|
#:admin))
|
|
|
|
(defpackage :remote-snake-server-api
|
|
(:nicknames :rsapi)
|
|
(:use :common-lisp :jonathan :remote-snake-server-game)
|
|
(:shadow #:dump) ; Because game-manager also has a dump method
|
|
(:export
|
|
#:api
|
|
#:handle-request))
|
|
|
|
(defpackage :remote-snake-server
|
|
(:nicknames :rss)
|
|
(:use :common-lisp :usocket :remote-snake-server-api :cl-strings :jonathan)
|
|
(:export
|
|
#:start
|
|
#:send-cmd))
|