A Clojure library designed process games of 31/Trente et un/Scat
Leiningen/Boot
[com.github.qanazoga/thirty-one "0.1.0"]
Clojure CLI/deps.edn
com.github.qanazoga/thirty-one {:mvn/version "0.1.0"}
Gradle
implementation("com.github.qanazoga:thirty-one:0.1.0")
Maven
<dependency>
<groupId>com.github.qanazoga</groupId>
<artifactId>thirty-one</artifactId>
<version>0.1.0</version>
</dependency>
Card | Point Value |
---|---|
A | 11 |
J Q K | 10 |
All others | Face Value |
Each player gets 5 lives and a hand of 3 cards. The top card of the deck is revealed to all players and placed in the Discard Pile. All other cards are hidden and used as the Deck.
All players are trying to get (as close as they can) to 31 points in their hand of the same suit.
If at any point a player has exactly 31 points in their 3 card hand, all in one suit, the round ends, and all other players lose a life.
Each player takes turns either knocking or drawing..
If a player believes they have more points in one suit than any other player, they may end the round early by "Knocking".
At the end of the round all players reveal their hands and total up the highest value they can make using cards of a single suit.
Can you improve this documentation? These fine people already did:
Paige & paigeEdit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close