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
3. Run from anywhere in your terminal (launches GUI by default):
73
+
```bash
74
+
NumberGuessingGame
75
+
```
76
+
77
+
To run in console mode, use the `-c` flag:
68
78
```bash
69
-
numberguessinggame
79
+
numberguessinggame -c
70
80
```
71
81
72
82
To uninstall:
73
83
```bash
74
-
sudo dnf remove numberguessinggame
84
+
sudo dnf remove NumberGuessingGame
75
85
```
76
86
Or on older systems:
77
87
```bash
78
-
sudo yum remove numberguessinggame
88
+
sudo yum remove NumberGuessingGame
79
89
```
80
90
81
91
### Standalone Packages with Bundled JRE (Recommended)
82
92
83
-
Download the platform-specific package with bundled JRE from the [latest release](https://github.com/project516/numberguessinggame/releases):
93
+
Download the platform-specific package with bundled JRE from the [latest release](https://github.com/project516/NumberGuessingGame/releases):
84
94
85
95
-**Windows**: `NumberGuessingGame-windows.zip`
86
96
-**macOS**: `NumberGuessingGame-macos.zip`
@@ -96,7 +106,7 @@ Run `run.sh`
96
106
97
107
### Manual Installation (Requires Java)
98
108
99
-
Download the `archive.zip` from the [latest release](https://github.com/project516/numberguessinggame/releases)
109
+
Download the `archive.zip` from the [latest release](https://github.com/project516/NumberGuessingGame/releases)
100
110
101
111
#### Requirements
102
112
@@ -138,10 +148,9 @@ The game features both a graphical user interface (GUI) and a console mode.
138
148
To run the classic console version, use the `--console` or `-c` flag:
139
149
140
150
```bash
141
-
java -jar app.jar --console
142
-
# or
143
-
./run.sh --console # Linux/Mac
144
-
run.bat --console # Windows
151
+
java -jar app.jar --console # or use -c
152
+
./run.sh --console # Linux/Mac, can also use -c
153
+
run.bat --console # Windows, can also use -c
145
154
```
146
155
147
156
In console mode:
@@ -154,7 +163,7 @@ In console mode:
154
163
155
164
### High Scores
156
165
157
-
The game automatically tracks high scores (games won with the least guesses). High scores are stored in your home directory at `~/.numberguessinggame/highscores.properties`.
166
+
The game automatically tracks high scores (games won with the least guesses). High scores are stored in your home directory at `~/.NumberGuessingGame/highscores.properties`.
158
167
159
168
- The top 10 scores are kept
160
169
- Scores are sorted by the number of guesses (least is best)
@@ -195,21 +204,21 @@ Run `.\gradlew build` and `.\package.bat` from the project root.
195
204
**On Linux/Mac:**
196
205
Run `./package.sh` from the project root.
197
206
198
-
This will create `archive.zip` containing the application, run scripts, README, and LICENSE. The archive can be released to GitHub Releases.
207
+
This will create `archive.zip` containing the application, run scripts, README, and LICENSE.
199
208
200
209
#### Debian Package
201
210
202
211
**On Linux:**
203
212
Run `./package-deb.sh` from the project root.
204
213
205
-
This will create `numberguessinggame.deb` which can be installed via `apt`/`dpkg` on Debian-based systems. The package can be released to GitHub Releases for easy distribution.
214
+
This will create `NumberGuessingGame.deb` which can be installed via `apt`/`dpkg` on Debian-based systems.
206
215
207
216
#### Fedora/RPM Package
208
217
209
218
**On Linux (requires rpm-build):**
210
219
Run `./package-rpm.sh` from the project root.
211
220
212
-
This will create `numberguessinggame-1.0.0-1.noarch.rpm` which can be installed via `dnf`/`yum`/`rpm` on Fedora, RHEL, CentOS, and other RPM-based systems. The package can be released to GitHub Releases for easy distribution.
221
+
This will create `NumberGuessingGame.rpm` which can be installed via `dnf`/`yum`/`rpm` on Fedora, RHEL, CentOS, and other RPM-based systems.
213
222
214
223
#### Platform-Specific Packages with Bundled JRE
215
224
@@ -222,4 +231,4 @@ Run the following scripts to create platform-specific packages with bundled JRE:
These packages include a bundled JRE and do not require Java to be installed on the target system. They are automatically built and uploaded to GitHub Releases via GitHub Actions.
234
+
These packages include a bundled JRE and do not require Java to be installed on the target system.
0 commit comments