removeLast method
Remove the last recorded state of the board.
Implementation
void removeLast() {
_states.removeLast();
_commands.removeLast();
_positions.removeLast();
}
Remove the last recorded state of the board.
void removeLast() {
_states.removeLast();
_commands.removeLast();
_positions.removeLast();
}