Core class

Play Suipi Core Library

Constructors

Core()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

applyMove(GameRef g, String annotation) → String
Attempt to apply a move to the game state
freeGame(GameRef g) → void
Deinitializes a game reference
getScores(GameRef g) → List<Scorecard>
Get the score cards for the completed games
newGame(List<int> seed) → GameRef
Initialize a new game from the given seed
nextTurn(GameRef g) → void
End the current player's turn
readFloor(GameRef g) → List<Pile>
Read the current floor piles
readHands(GameRef g) → List<Card>
Read both player's hands, the current player's first
status(GameRef g) → Status
Get the status signals for a game
undo(GameRef g) → void
Undo the most recent move