Position class

dart representation of Position in libedax world.

Annotations
  • @immutable

Constructors

Position(Board board, Link leaf, List<Link> links, int nWins, int nDraws, int nLosses, int nLines, Score score, int nLink, int level, int flag, int nPlayerBestpaths, int nOpponentBestpaths)
const
Position.fromCStruct(Position cPosition)
initialize from C struct

Properties

best score links
no setter
board Board
final
flag int
done/undone flag
final
hashCode int
The hash code for this object.
no setterinherited
leaf Link
best remaining move
final
level int
search level
final
linking moves
final
nDraws int
game draw count
final
nLines int
unterminated line count
final
linking moves number
final
nLosses int
game loss count
final
nOpponentBestpaths int
bestpath count of opponent
final
nPlayerBestpaths int
bestpath count of player
final
nWins int
game win count
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
score Score
Position value & bounds
final

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