This package defines a player data structure, collections of players, and different interactions you can have with them: - Extracting attributes (destructors) - Checking if they're bankrupt or can bet - Modifying a collection to adjust the balance of any one player (including errors in case that isn't possible)
23 lines
711 B
Common Lisp
23 lines
711 B
Common Lisp
(asdf:defsystem :cantedraw
|
|
:depends-on (:alexandria)
|
|
:components ((:file "packages")
|
|
(:module "lib"
|
|
:components
|
|
((:file "macros")
|
|
(:file "functions")))
|
|
(:module "src"
|
|
:components
|
|
((:file "model")
|
|
(:file "player")
|
|
(:file "game")
|
|
(:file "main"))))
|
|
:build-operation "program-op"
|
|
:build-pathname "bin/cantedraw"
|
|
:entry-point "cantedraw.main:start")
|
|
|
|
#+sb-core-compression
|
|
(defmethod asdf:perform ((o asdf:image-op) (c asdf:system))
|
|
(uiop:dump-image (asdf:output-file o c)
|
|
:executable t
|
|
:compression 9))
|