Counter
public struct Counter : Hashable
Position counter.
-
This is the number of halfmoves since the last capture or pawn advance.
This is used to determine if a draw can be claimed under the fifty-move rule.
Declaration
Swift
public var halfMoves: Int
-
The number of the full move.
It starts at 1, and is incremented after Black’s move.
Declaration
Swift
public var fullMoves: Int