small fixes
This commit is contained in:
@@ -9,6 +9,7 @@ import worms.programs.UnaryExpression;
|
||||
import worms.util.Coordinate;
|
||||
|
||||
import java.io.Console;
|
||||
import java.util.concurrent.ThreadLocalRandom;
|
||||
import java.util.function.BinaryOperator;
|
||||
import java.util.function.DoubleBinaryOperator;
|
||||
|
||||
@@ -21,5 +22,14 @@ public class Main {
|
||||
{ false, false, false, false } };
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
for (int i = 0; i < 10; i++) {
|
||||
|
||||
int x =ThreadLocalRandom.current().nextInt(0, 15) / 2;
|
||||
x += (x % 2 == 0 ? 1:0);
|
||||
System.out.println(x);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user