Numsuko is a simple command-line number guessing game written in C.
It challenges the user to guess a randomly-generated number within a limited number of attempts, offering a fun interactive experience in a terminal environment.
- CLI-based number guessing game
- Random number generation each time you play
- Limited attempts to make the game exciting
- Clear print-out of guesses, remaining tries, and success/fail messages
- Lightweight and portable — runs on standard terminals
The files are organized so that the main.c handles logic flow, while game.c/game.h contain the game functions.
You’ll need a C compiler (e.g., gcc) and a terminal (Linux or compatible).
git clone https://github.com/roshhellwett/Numsuko.git
cd Numsuko
gcc main.c game.c -o numsuko # adjust filenames if different
./numsuko