We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent faa6183 commit 3c5c0f4Copy full SHA for 3c5c0f4
app/src/main/java/hexlet/code/games/Engine.java
@@ -7,7 +7,7 @@ public class Engine {
7
private static String userName;
8
private static boolean defeated = false;
9
private static int currentRound = 1;
10
- private static final int finalRound = 3;
+ private static final int FINAL_ROUND = 3;
11
private static Random randomizer = new Random();
12
13
public static void greet(Scanner scanner) {
@@ -18,7 +18,7 @@ public static void greet(Scanner scanner) {
18
}
19
20
public static boolean isContinuing() {
21
- return currentRound <= finalRound && !defeated;
+ return currentRound <= FINAL_ROUND && !defeated;
22
23
24
public static int getRandomNumber(int bound) {
0 commit comments