ply property

int get ply

Gets the current ply.

Implementation

int get ply => fullmoves * 2 - (turn == Side.white ? 2 : 1);