Gives info about the gamestate
Gives info about the gamestate
(blitzing-players gamestate)Returns players who have 31 points in hand
Returns players who have 31 points in hand
(hand->str gamestate player-index)Returns a space-seperated string of each card in the hand of the player at player-index
Returns a space-seperated string of each card in the hand of the player at `player-index`
(losing-indexes gamestate)Indexes of any player who should lose a life during scoring
Indexes of any player who should lose a life during scoring
(losing-names gamestate)Names of any player who should lose a life during scoring
Names of any player who should lose a life during scoring
(player-loses-life? gamestate player-index)Returns true the player at player-index should lose a life
Returns `true` the player at player-index should lose a life
(time-to-score? {active-player :active-player
knocking-player :knocking-player
deck :deck
:as gamestate})Returns true if the game should move to the scoring phase
Returns `true` if the game should move to the scoring phase
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |