Board class

dart representation of Board in libedax world,

Annotations
  • @immutable

Constructors

Board(int player, int opponent)
const
Board.fromCStruct(Board cBoard)
initialize from C struct

Properties

hashCode int
The hash code for this object.
no setterinherited
opponent int
opponent's bitboard.
final
opponentRadix16String String
Radix 16 String.
no setter
player int
player's bitboard.
final
playerRadix16String String
Radix 16 String.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
squaresOfOpponent List<int>
square list of opponent's bitboard.
no setter
squaresOfPlayer List<int>
square list of player's bitboard.
no setter
squareStringsOfOpponent List<String>
square String list of opponent's bitboard.
no setter
squareStringsOfPlayer List<String>
square String list of player's bitboard.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
prettyString(int currentColor) String
get human readable board.
stringApplicableToSetboard(int currentColor) String
get string applicable to edaxSetboard command.
toString() String
A string representation of this object.
inherited

Operators

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