Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
sealed trait GameRulesViolation
case object NotEnoughPlayersViolation extends GameRulesViolation
case object NotCurrentPlayerViolation extends GameRulesViolation
case object GameAlreadyStartedViolation extends GameRulesViolation
case object GameNotRunningViolation extends GameRulesViolation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment