Add nicknames for all packages (cantedraw -> 5d)

This commit is contained in:
2025-02-15 17:51:45 +00:00
parent 143e8e03fa
commit a73b0f9729

View File

@@ -18,6 +18,7 @@
;;; Code: ;;; Code:
(defpackage cantedraw.lib.macros (defpackage cantedraw.lib.macros
(:nicknames :5d-lib.macros)
(:use :cl) (:use :cl)
(:export (:export
:--> :->> :--> :->>
@@ -26,7 +27,8 @@
:$)) :$))
(defpackage cantedraw.lib.functions (defpackage cantedraw.lib.functions
(:use :cl :cantedraw.lib.macros) (:nicknames :5d-lib.functions)
(:use :cl :5d-lib.macros)
(:export (:export
:parse-integer* :parse-integer*
:range :take :split :range :take :split
@@ -34,7 +36,8 @@
:remove-at-indices)) :remove-at-indices))
(defpackage cantedraw.model (defpackage cantedraw.model
(:use :cl :cantedraw.lib.macros :cantedraw.lib.functions) (:nicknames :5d.model)
(:use :cl :5d-lib.macros :5d-lib.functions)
(:export (:export
;; Types ;; Types
:int-card :rank :suit :card :cardset :int-card :rank :suit :card :cardset
@@ -49,9 +52,10 @@
:make-joker :make-deck)) :make-joker :make-deck))
(defpackage cantedraw.player (defpackage cantedraw.player
(:nicknames :5d.player)
(:use :cl (:use :cl
:cantedraw.lib.macros :cantedraw.lib.functions :5d-lib.macros :5d-lib.functions
:cantedraw.model) :5d.model)
(:export (:export
:player :player
:players :players
@@ -63,16 +67,18 @@
:player-receive)) :player-receive))
(defpackage cantedraw.game (defpackage cantedraw.game
(:nicknames :5d.game)
(:use :cl (:use :cl
:cantedraw.lib.macros :cantedraw.lib.functions :5d-lib.macros :5d-lib.functions
:cantedraw.model) :5d.model)
(:export (:export
:deal-cards :deal-cards
:deal-hands :deal-hands
:redeal-hand)) :redeal-hand))
(defpackage cantedraw.main (defpackage cantedraw.main
(:nicknames :5d.main)
(:use :cl (:use :cl
:cantedraw.lib.macros :cantedraw.lib.functions :5d-lib.macros :5d-lib.functions
:cantedraw.model :cantedraw.game) :5d.model :5d.game)
(:export :start)) (:export :start))