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:
2025-02-14 16:59:46 +00:00
parent f8a834c0d2
commit f4b43031ad
3 changed files with 42 additions and 0 deletions

View File

@@ -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))