You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-7Lines changed: 13 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,11 +2,11 @@
2
2
3
3
A simple number guessing game where you try to guess a randomly generated number. The game will tell you if your guess is too high or too low until you find the correct number.
4
4
5
-
## For End Users
5
+
## Running the Game
6
6
7
7
### Requirements
8
8
9
-
- Java 8 or higher
9
+
- Java 8 or higher (may require Java 17+ in future versions)
10
10
11
11
### How to Run
12
12
@@ -24,26 +24,32 @@ Run `run.sh` or execute `java -jar app.jar`
24
24
4. Keep guessing until you find the correct number
25
25
5. The game will display how many guesses it took you
26
26
27
-
## For Developers
27
+
## Development
28
28
29
29
### Requirements
30
30
31
-
- Java 8 or higher (Eclipse Temurin recommended)
31
+
- Java 25 (Eclipse Temurin recommended for development)
32
32
- Gradle
33
33
34
34
### Development Setup
35
35
36
-
Install SDKMAN! and run:
36
+
SDKMAN is the recommended way to install Java and Gradle (pre-installed in GitHub Codespaces):
37
37
38
38
```
39
39
sdk install java 25-tem
40
40
sdk install gradle
41
41
```
42
42
43
-
Or install Eclipse Temurin JDK directly from https://adoptium.net/
43
+
Alternatively, install Eclipse Temurin JDK directly from https://adoptium.net/
44
44
45
45
### Building
46
46
47
+
From the project root:
48
+
```
49
+
gradle build
50
+
```
51
+
52
+
Or from the app directory:
47
53
```
48
54
cd app
49
55
gradle build
@@ -58,4 +64,4 @@ gradle test
58
64
59
65
### Creating Release Archive
60
66
61
-
Run `./package.sh` from the project root. This will create `archive.zip` containing the application and run scripts.
67
+
Run `./package.sh` from the project root. This will create `archive.zip` containing the application, run scripts, and README. The archive can be released to GitHub Releases.
0 commit comments