Small changes
This commit is contained in:
@@ -30,11 +30,11 @@
|
|||||||
|
|
||||||
(deftype int-card () `(integer 0 51))
|
(deftype int-card () `(integer 0 51))
|
||||||
|
|
||||||
|
(deftype cardset () `(and list (satisfies cardsetp)))
|
||||||
|
|
||||||
(fn cardsetp (lst) (-> (list) boolean)
|
(fn cardsetp (lst) (-> (list) boolean)
|
||||||
(every #'(lambda (x) (typep x 'card)) lst))
|
(every #'(lambda (x) (typep x 'card)) lst))
|
||||||
|
|
||||||
(deftype cardset () `(and list (satisfies cardsetp)))
|
|
||||||
|
|
||||||
(fn int->suit (n) (-> (int-card) suit)
|
(fn int->suit (n) (-> (int-card) suit)
|
||||||
(case (floor n 13)
|
(case (floor n 13)
|
||||||
(0 :Diamonds)
|
(0 :Diamonds)
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
We need to deal with folds in rounds (1) and (3).
|
We need to deal with folds in rounds (1) and (3).
|
||||||
|
|
||||||
** TODO MVP: Simulate without financing
|
** WIP MVP: Simulate without financing
|
||||||
** TODO Financing
|
** TODO Financing
|
||||||
Each game has:
|
Each game has:
|
||||||
+ Small and big blind
|
+ Small and big blind
|
||||||
|
|||||||
Reference in New Issue
Block a user