Skip to content

Commit 8839eb2

Browse files
author
Aleksandr Pronichev
committed
add Progression game
1 parent dcbeb8f commit 8839eb2

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
package hexlet.code.games;
2+
3+
import hexlet.code.Engine;
4+
5+
public class Progression {
6+
7+
private static final String RULES = "What number is missing in the progression?";
8+
9+
public static void gameProgression() {
10+
11+
12+
}
13+
14+
public static void generateProgression(int firstNumber, int step, int length) {
15+
int currentNumber = firstNumber;
16+
for (int i = 0; i < length; i++) {
17+
18+
}
19+
}
20+
}

0 commit comments

Comments
 (0)