
classes.actions.PokerAction.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cards_2.13 Show documentation
Show all versions of cards_2.13 Show documentation
Scala library for card-playing functionality, including games Blackjack and Thirty-One
The newest version!
package cards.classes.actions
import play.api.libs.json.{ Json, Format }
object PokerAction extends Enumeration {
type PokerAction = Value
val Draw, Discard, Fold = Value
implicit val format: Format[PokerAction] = Json.formatEnum(this)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy