Zufallselement bei Computer Farbwunsch wieder entfernt
This commit is contained in:
@@ -68,9 +68,6 @@ public class Computer_gegner {
|
||||
|
||||
|
||||
achtInHand = false;
|
||||
|
||||
|
||||
|
||||
siebenInHand = false;
|
||||
|
||||
for(int i = 0; i < hand.size(); i++) { //Schleife geht alle Karten in der Hand des Computers durch
|
||||
@@ -231,7 +228,7 @@ public class Computer_gegner {
|
||||
wahl = farben[i];
|
||||
}
|
||||
if (hand.size() < 3) {
|
||||
if(zufall(10) > 8) {
|
||||
if(zufall(10) > 11) {
|
||||
wahl = farben[zufall(4)];
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user