24 lines
310 B
Swift
24 lines
310 B
Swift
|
import Foundation
|
||
|
|
||
|
enum PlayerState: String {
|
||
|
|
||
|
case canDouble
|
||
|
case didDouble
|
||
|
|
||
|
case isDisconnected
|
||
|
|
||
|
case mustBid
|
||
|
case didFold
|
||
|
case didBid
|
||
|
case mustPlaceBid
|
||
|
|
||
|
case isGameSelector
|
||
|
case isWeddingOfferer
|
||
|
case isCalled
|
||
|
|
||
|
case didRaise
|
||
|
|
||
|
case isWinner
|
||
|
case isLooser
|
||
|
}
|