Browse Source

Fix rollDice Method

AIPlayer
Jonas Wagner 3 years ago
parent
commit
beeaf8540b
  1. 2
      src/main/java/Player.java

2
src/main/java/Player.java

@ -12,6 +12,6 @@ public class Player {
}
public int rollDice() {
return (int) (Math.random() * 6);
return (int) (Math.random() * 6 + 1);
}
}
Loading…
Cancel
Save