private int auxStatistic() { Board board = new Board(); while (true) { List <Board> moves = learner.getMoves(board); board = learner.chooseMove(moves); if (algorithm.f5(board) > 0) { return(1); } else if (algorithm.f7(board) == 0) { return(0); } moves = randomerPlayer.getMoves(board); board = randomerPlayer.chooseMove(moves); if (algorithm.f6(board) > 0) { return(-1); } else if (algorithm.f7(board) == 0) { return(0); } } }