menu
bishop package
documentation
bishop.dart
GameResult class
GameResult class
dark_mode
light_mode
GameResult
class
abstract
Implementers
DrawnGame
InvalidMoveResult
WonGame
Constructors
GameResult
()
const
Properties
hashCode
→
int
The hash code for this object.
no setter
inherited
readable
→
String
A human-readable string describing the result.
no setter
runtimeType
→
Type
A representation of the runtime type of the object.
no setter
inherited
scoreString
→
String
no setter
soft
→
bool
'Soft' results will not delegalise moves. This is useful for cases like points-based wins, where if the opponent is going to win next move no matter what, the current player should still be able to make a move.
no setter
Methods
noSuchMethod
(
Invocation
invocation
)
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString
(
)
→
String
A string representation of this object.
override
Operators
operator ==
(
Object
other
)
→
bool
The equality operator.
inherited
bishop package
documentation
bishop
GameResult class
bishop library