From 77d344a42fef1a49418a899708db073a394a066e Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Fri, 14 Feb 2025 23:22:49 +0000 Subject: Implement a package for some game mechanics Currently can deal some hands and redeal some cards. --- packages.lisp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'packages.lisp') diff --git a/packages.lisp b/packages.lisp index e12156e..1898e35 100644 --- a/packages.lisp +++ b/packages.lisp @@ -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)) -- cgit v1.2.3-13-gbd6f