@ -8,6 +8,7 @@ public class AIPlayer extends Player{
@Override
public int choose(ArrayList<Integer> usableFigures) {
return (int) (Math.random() * usableFigures.size());
int res = (int) ((Math.random() * usableFigures.size()));
return usableFigures.get(res);
}