You have 5 chances to match a randomly generated number from 0 to 100.
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;
You have two choices: Get the Release or Build Yourself.
Click here to get the latest release and install app.tar
or app.zip
, and follow to Usage section.
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.
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/MacOSapp.bat
file is for Windows/MS-DOS
To execute, run the following commands:
./app/bin/app
or
cd app/bin
./app
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.