Skip to content

Commit

Permalink
update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Asterroth committed Nov 16, 2023
1 parent de35319 commit 03f4214
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/src/main/java/hexlet/code/Engine.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public static void runGame(String gameDescription, String[][] gameData) {
System.out.println("Congratulations, " + player + "!");
scan.close();
}

// Getting greet and player name
public static String greeter() {
Scanner scan = new Scanner(System.in);
String userName;
Expand Down
1 change: 1 addition & 0 deletions app/src/main/java/hexlet/code/games/Gcd.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ public static void genGame() {
}
Engine.runGame(DESCRIPTION, gameData);
}
// Calculate GCD of two numbers
private static int calcGCD(int first, int second) {
return second == 0 ? first : calcGCD(second, first % second);
}
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/hexlet/code/games/Progression.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ private static String genSequence() {
}
return sequence.toString();
}

// Preparing of single game round data
private static String[] prepareGameData(String seq) {
var roundData = new String[2];
String[] seqArray = seq.split(" ");
Expand Down

0 comments on commit 03f4214

Please sign in to comment.