Add a package for modelling cards
Time to do the fun non-yakshaving part. I'll start out by writing some custom types for the objects of concern: ranks, suits, cards and sets of cards.
This commit is contained in:
@@ -32,6 +32,10 @@
|
||||
:range :take :split
|
||||
:rev-map))
|
||||
|
||||
(defpackage cantedraw.model
|
||||
(:use :cl :cantedraw.lib.macros :cantedraw.lib.functions)
|
||||
(:export :int-card :rank :suit :card :cardset))
|
||||
|
||||
(defpackage cantedraw.main
|
||||
(:use :cl :cantedraw.lib.macros :cantedraw.lib.functions)
|
||||
(:export :start))
|
||||
|
||||
Reference in New Issue
Block a user