Skip to content

Commit

Permalink
Merge pull request #40 from sandorw/feature/testFlakes
Browse files Browse the repository at this point in the history
Tweak TicTacToeGameState MCST params to reduce flakes
  • Loading branch information
sandorw committed Oct 23, 2015
2 parents 52f6de4 + 48e3dbc commit 7449709
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,11 @@ public void playFullGameTest() {
MonteCarloSearchService<DefaultGameMove, DefaultNodeResults> aiService
= new MonteCarloSearchService<>(nodeResultsService, policy, gameState);
aiService.setNodeExpandThreshold(1);
aiService.setExplorationConstant(5.0f);
Player<DefaultGameMove> XPlayer = new AIPlayer<>(aiService, 100);
aiService = new MonteCarloSearchService<>(nodeResultsService, policy, gameState);
aiService.setNodeExpandThreshold(1);
aiService.setExplorationConstant(5.0f);
Player<DefaultGameMove> OPlayer = new AIPlayer<>(aiService, 100);
game.addPlayer("X", XPlayer);
game.addPlayer("O", OPlayer);
Expand Down

0 comments on commit 7449709

Please sign in to comment.