Added informational output

This commit is contained in:
Malte Tammena 2017-10-27 09:41:56 +02:00
parent 5496b0d40b
commit 74320a091a

View file

@ -64,6 +64,7 @@ public class MalteAI implements Player{
for (double d: weights) {
max = max > d ? max: d;
}
System.out.println(Arrays.toString(weights));
for (int i = 0; i < weights.length; i++) {
if (Math.abs(max - weights[i]) < 0.000001) {
return i;