All Downloads are FREE. Search and download functionalities are using the official Maven repository.

classes.actions.ThirtyOneAction.scala Maven / Gradle / Ivy

Go to download

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 ThirtyOneAction extends Enumeration {
  type ThirtyOneAction = Value
  val DrawFromStock, DrawFromDiscard, Discard, Knock, Pay, Bank, IsDealt, Shuffle, Show, LeaveTable, Win = Value
  
  implicit val format: Format[ThirtyOneAction] = Json.formatEnum(this)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy