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
+10-11Lines changed: 10 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,17 +1,17 @@
1
1
# Number Guessing Game
2
2
3
-
A simple number guessing game where you try to guess a randomly generated number. The game features both a user-friendly graphical user interface (GUI) and a classic console mode. The GUI provides visual feedback with color-coded hints and tracks your progress in real-time.
3
+
A simple number guessing game where you try to guess a randomly generated number. The game features both a user-friendly graphical user interface (GUI) and a classic console mode.
4
4
5
5
**Features:**
6
6
- Swing-based GUI (default)
7
7
- Console mode (use `--console` flag)
8
8
- High score tracking with usernames
9
9
- Persistent score storage
10
-
- Cross-platform (Made with Java!)
10
+
- Cross-platform
11
11
12
12
## Installation & Running
13
13
14
-
### Installation via Debian Package (Linux)
14
+
### Installation via Debian Package (APT)
15
15
16
16
For Debian/Ubuntu and derivatives (recommended for terminal usage):
Download the platform-specific package with bundled JRE from the [latest release](https://github.com/project516/numberguessinggame/releases):
47
47
48
-
-**Windows**: `NumberGuessingGame-windows.zip` (no Java installation required)
49
-
-**macOS**: `NumberGuessingGame-macos.zip` (no Java installation required)
50
-
-**Linux**: `NumberGuessingGame-linux.tar.xz` (no Java installation required)
48
+
-**Windows**: `NumberGuessingGame-windows.zip`
49
+
-**macOS**: `NumberGuessingGame-macos.zip`
50
+
-**Linux**: `NumberGuessingGame-linux.tar.xz`
51
51
52
52
Extract the downloaded archive and run:
53
53
@@ -75,7 +75,7 @@ Run `run.sh`
75
75
76
76
### How to Play
77
77
78
-
The game now features both a graphical user interface (GUI) and a console mode.
78
+
The game features both a graphical user interface (GUI) and a console mode.
79
79
80
80
#### GUI Mode (Default)
81
81
@@ -117,10 +117,10 @@ In console mode:
117
117
118
118
### High Scores
119
119
120
-
The game automatically tracks high scores (games won with the fewest guesses). High scores are stored persistently in your home directory at `~/.numberguessinggame/highscores.properties`.
120
+
The game automatically tracks high scores (games won with the least guesses). High scores are stored in your home directory at `~/.numberguessinggame/highscores.properties`.
121
121
122
122
- The top 10 scores are kept
123
-
- Scores are sorted by the number of guesses (fewest is best)
123
+
- Scores are sorted by the number of guesses (least is best)
124
124
- Each score includes the username and number of guesses
125
125
- High scores persist across game sessions
126
126
- View high scores from the GUI menu (View → High Scores) or after completing a game
@@ -130,7 +130,6 @@ The game automatically tracks high scores (games won with the fewest guesses). H
130
130
### Requirements
131
131
132
132
- Java 25 (Eclipse Temurin recommended for development)
133
-
- Gradle
134
133
135
134
### Development Setup
136
135
@@ -151,7 +150,7 @@ From the project root:
151
150
152
151
### Creating Release Archives
153
152
154
-
#### Zip Archive (Requires Java)
153
+
#### Zip Archive
155
154
156
155
**On Windows:**
157
156
Run `.\gradlew build` and `.\package.bat` from the project root.
0 commit comments