예제 #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;
 }