Skip to content

Short C program that picks a random number and prompts user to enter numbers until they guess correctly.

Notifications You must be signed in to change notification settings

IsaacGubelin/guessNumber_in_C

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This number-guessing game uses only one single main.c file to run. A Makefile is also included, running "make" will run the gcc commands to compile main. Inside the .vscode folder are various json files to make it possible to use VS Code's running/debugging capability.

To play the game in your terminal, change directories to the top level where main.c is located. Run "./guess " to start the executable. Your goal is to type an integer number into the terminal and guess a number randomly chosen at the start. The program will say if your guess is high or low.

About

Short C program that picks a random number and prompts user to enter numbers until they guess correctly.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published