Skip to content

Number Guessing Game

License

Notifications You must be signed in to change notification settings

soyowendy/guess-game

Repository files navigation

Number Guessing Game

You have 5 chances to match a randomly generated number from 0 to 100.

Java Gradle License Status

✨ Demo

Terminal showing the game run.

📝 Requirements

If you want to build the project you will need:

  • Java Development Kit (JDK);
  • unzip or tar;

If you want just to run the project, you will need:

  • Java Runtime Environment (JRE);
  • unzip or tar;

💻 Installation

You have two choices: Get the Release or Build Yourself.

Get the Release

Click here to get the latest release and install app.tar or app.zip, and follow to Usage section.

Building Yourself

First you need to clone the project with:

git clone https://github.com/soyowendy/guess-game # Clone repository
cd guess-game # Enter in the folder
./gradlew build # Build with Gradle

Your build is in the following path: app/build/distributions.

cd app/build/distributions

Now, follow to to Usage section.

🚀 Usage

To run the project, first unzip the package:

unzip app.zip

or

tar xvf app.tar

Now, the executable the path to executable is: ./app/bin.

  • app file is for Linux/BSD/MacOS
  • app.bat file is for Windows/MS-DOS

To execute, run the following commands:

./app/bin/app

or

cd app/bin
./app

🧑‍💻 Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

📜 License

WTFPL