An open API service indexing awesome lists of open source software.

https://github.com/simonthorell/guess-number-game

Java guessing game with a simple console interface, featuring number guessing within a range, user input validation, score tracking, and a competitive low score leaderboard.
https://github.com/simonthorell/guess-number-game

java

Last synced: 7 days ago
JSON representation

Java guessing game with a simple console interface, featuring number guessing within a range, user input validation, score tracking, and a competitive low score leaderboard.

Awesome Lists containing this project

README

        

# Gissa Ett Tal - A Java Guessing Game

## Overview
"Gissa Ett Tal" is an engaging Java-based guessing game that challenges players to guess a secret number within a specified range. The game features a simple, console-based interface and integrates elements of user input validation and score tracking.

## Features
- **Random Number Generation**: The game generates a random number between 1 and 100 that players need to guess.
- **Input Validation**: Players' guesses are validated to ensure they fall within the acceptable range.
- **Score Tracking**: The game keeps track of the number of attempts taken by the player to guess the number correctly.
- **Low Score Board**: A low score board is maintained to record and display top performances.
- **User Interaction**: Players interact with the game through a series of prompts and responses in the console.

## How to Play
1. Run the program.
2. The game will prompt you to guess a number between 1 and 100.
3. Enter your guess in the console.
4. The game will guide you if your guess is too high or too low.
5. Continue guessing until you find the correct number.
6. Once you guess correctly, your score (number of attempts) will be shown.
7. If your score is among the top scores, you have the option to save it to the low score board.

## Requirements
- Java Runtime Environment (JRE)

## Installation
1. Clone or download this repository to your local machine.
2. Navigate to the directory containing the game files.
3. Compile the Java files.
4. Run the main game file.

## Contribution
Feedback and contributions to the project are welcome. Feel free to fork the repository and submit pull requests.

## License
This project is open-source and available under the [MIT License](LICENSE).

Enjoy playing "Gissa Ett Tal"!