Skip to content

Commit 6086035

Browse files
committed
edit games after test
1 parent 9a00818 commit 6086035

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

app/src/main/java/hexlet/code/games/Calculator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public static void startGame() {
2323
char[] operators = {'+', '-', '*'};
2424
String[][] data = new String[Engine.getRoundsCount()][2];
2525
SecureRandom random = new SecureRandom();
26-
int numbersCount = 99;
26+
int numbersCount = 100;
2727

2828

2929
for (int i = 0; i < Engine.getRoundsCount(); i++) {

app/src/main/java/hexlet/code/games/Even.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ public static void startGame() {
88
String description = "Answer 'yes' if the number is even, otherwise answer 'no'.";
99
String[][] data = new String[Engine.getRoundsCount()][2];
1010
SecureRandom random = new SecureRandom();
11-
int numbersCount = 99;
11+
int numbersCount = 100;
1212

1313

1414
for (int i = 0; i < Engine.getRoundsCount(); i++) {

app/src/main/java/hexlet/code/games/Gcd.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public static void startGame() {
1919
String description = "Find the greatest common divisor of given numbers.";
2020
String[][] data = new String[Engine.getRoundsCount()][2];
2121
SecureRandom random = new SecureRandom();
22-
int numbersCount = 99;
22+
int numbersCount = 100;
2323

2424
for (int i = 0; i < Engine.getRoundsCount(); i++) {
2525
int number1 = random.nextInt(numbersCount) + 1;

app/src/main/java/hexlet/code/games/Prime.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public static void startGame() {
2020
String description = "Answer 'yes' if given number is prime. Otherwise answer 'no'.";
2121
String[][] data = new String[Engine.getRoundsCount()][2];
2222
SecureRandom random = new SecureRandom();
23-
int numbersCount = 99;
23+
int numbersCount = 100;
2424

2525
for (int i = 0; i < Engine.getRoundsCount(); i++) {
2626
int number = random.nextInt(numbersCount) + 1;

app/src/main/java/hexlet/code/games/Progression.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public static void startGame() {
1616
String description = "What number is missing in the progression?";
1717
String[][] data = new String[Engine.getRoundsCount()][2];
1818
SecureRandom random = new SecureRandom();
19-
int startNumber = 50;
19+
int startNumber = 60;
2020
int stepNumber = 10;
2121
int hiddenNumber = 10;
2222

0 commit comments

Comments
 (0)