Implement a package for some game mechanics

Currently can deal some hands and redeal some cards.
This commit is contained in:
2025-02-14 23:22:49 +00:00
parent 6a3626d961
commit 77d344a42f
3 changed files with 58 additions and 1 deletions

View File

@@ -48,8 +48,17 @@
;; Constructors
:make-joker :make-deck))
(defpackage cantedraw.main
(defpackage cantedraw.game
(:use :cl
:cantedraw.lib.macros :cantedraw.lib.functions
:cantedraw.model)
(:export
:deal-cards
:deal-hands
:redeal-hand))
(defpackage cantedraw.main
(:use :cl
:cantedraw.lib.macros :cantedraw.lib.functions
:cantedraw.model :cantedraw.game)
(:export :start))