Liking cljdoc? Tell your friends :D

thirty-one.gamestate


add-playerclj

(add-player gamestate player-name)
source

dealclj

(deal gamestate)
source

dec-lifeclj

(dec-life gamestate player-index)
source

discardclj

(discard gamestate player-index card-index)
source

draw-from-deckclj

(draw-from-deck gamestate player-index)
source

draw-from-discardclj

(draw-from-discard gamestate player-index)
source

empty-handsclj

(empty-hands gamestate)
(empty-hands gamestate player-index)
source

knockclj

(knock gamestate player-index)
source

new-gamestateclj

(new-gamestate)

Creates the basic skeleton of the gamestate, including a shuffled deck.

Creates the basic skeleton of the gamestate, including a shuffled deck.
sourceraw docstring

new-roundclj

(new-round gamestate)

Shuffles a new deck, removes players who are no longer in the game, then deals

Shuffles a new deck, removes players who are no longer in the game, then deals
sourceraw docstring

next-playerclj

(next-player gamestate)
source

scoreclj

(score gamestate)
source

update-all-hand-pointsclj

(update-all-hand-points gamestate)
(update-all-hand-points gamestate player-index)
source

update-hand-pointsclj

(update-hand-points gamestate player-index)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close