diff --git a/src/battle/controllers/Piers/BetterMCTSNode.java b/src/battle/controllers/Piers/BetterMCTSNode.java index 492531a2ec91cbbb254a31ea9abf6e35ac707c37..727442d1a496b75fb65d70dd31532b78b566b222 100644 --- a/src/battle/controllers/Piers/BetterMCTSNode.java +++ b/src/battle/controllers/Piers/BetterMCTSNode.java @@ -131,7 +131,10 @@ public class BetterMCTSNode { while (maxDepth > currentRolloutDepth && !state.isGameOver()) { Action first = allActions[random.nextInt(allActions.length)]; Action second = allActions[random.nextInt(allActions.length)]; - state.update(first, second); + for(int i = 0; i < PiersMCTS.ACTIONS_PER_MACRO; i++) { + state.update(first, second); + } + currentRolloutDepth++; } int missilesUsed = 100 - state.getMissilesLeft(playerID); int ourPoints = state.getPoints(playerID);