push method

void push(
  1. Move move
)

Add move to the history of the current game.

Implementation

void push(Move move) {
  history.add(State(move, ColorMap.clone(kings), turn,
      ColorMap.clone(castling), ep_square, half_moves, move_number));
}