Project status: Final.
Technologies Used: C
A game where the user has three attempts to guess the correct number between the range of 0 and 15. This game is written in C, utilizing while loops for its implementation.
- Clone the repository:
git clone /~https://github.com/JoelMoyal/guessing-Game.git
- Install dependencies:
To compile and run the project on macOS, you'll need to install GCC. Here's how you can do it:
- Install Homebrew
brew install gcc
To compile and run the project on Windows, you can use MinGW, a port of the GNU Compiler Collection (GCC). Here's how you can do it:
- Download the MinGW installer
- Select GCC during installation.
- Add MinGW to PATH.
- Have C compiler installed
Steps:
- Navigate to the directory of the project
cd [your_project_directory]
- Run the following command to build the project
gcc -o main main.c
- Run the following command to run the project
./main
Steps:
- Navigate to the directory of the project
- Run the batch file by double clicking or right click and select #run#