@Override
    public Move findBestMove(int[][] board) {
        while(true) {
            String s = in.next();
            for (Move move : Move.ALL) {
                if(move.arrow.equals(s)) {
                    int[][] newBoard = makeMove(board, move);
                    copyBoard(board, newBoard);
                    return move;
                }
            }
        }
    }