* AI added little passivity penalty for passing turn to get AI more active.

This commit is contained in:
LevelX2 2014-10-03 12:07:59 +02:00
parent f7535505dd
commit b3b51f9f1e

View file

@ -564,6 +564,9 @@ public class ComputerPlayer6 extends ComputerPlayer implements Player {
}
if (currentPlayer.getId().equals(playerId)) {
if (action instanceof PassAbility) {
val = val -15; // passivity penalty
}
if (val > alpha) {
alpha = val;
bestNode = newNode;