Пример #1
0
 private void retractMove(Mark[][] board, Move move) {
     board[move.getRow()][move.getCol()] = _;
 }
Пример #2
0
 private void makeMove(Mark[][] board, Move move) {
     board[move.getRow()][move.getCol()] = move.getMark();
 }
Пример #3
0
 private boolean center(Move move) {
     return move.getCol() == 1 && move.getRow() == 1;
 }