public void Place(char player, int x, int y) { var snapshot = new BoardSnapshot(Positions); _history.Do(snapshot); Positions[x, y] = player; }
public void Do(BoardSnapshot snapshot) { Snapshots.Push(snapshot); }