Skip to content

ᴛʜɪꜱ ᴄ ᴘʀᴏɢʀᴀᴍ ɪꜱ ᴀɴ ɪɴᴛᴇʀᴀᴄᴛɪᴠᴇ ɴᴜᴍʙᴇʀ ɢᴜᴇꜱꜱɪɴɢ ɢᴀᴍᴇ ᴛʜᴀᴛ ᴄʜᴀʟʟᴇɴɢᴇꜱ ᴛʜᴇ ᴜꜱᴇʀ ᴛᴏ ɢᴜᴇꜱꜱ ᴀ ʀᴀɴᴅᴏᴍʟʏ ɢᴇɴᴇʀᴀᴛᴇᴅ ɴᴜᴍʙᴇʀ ᴡɪᴛʜɪɴ ᴀ ʟɪᴍɪᴛᴇᴅ ɴᴜᴍʙᴇʀ ᴏꜰ ᴀᴛᴛᴇᴍᴘᴛꜱ.

License

Notifications You must be signed in to change notification settings

roshhellwett/Numsuko

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Numsuko 🎲

License Platform Status Contributions GitHub stars

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.


🎮 Features

  • 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.


🚀 Getting Started

Prerequisites

You’ll need a C compiler (e.g., gcc) and a terminal (Linux or compatible).

Build & Run

git clone https://github.com/roshhellwett/Numsuko.git
cd Numsuko
gcc main.c game.c -o numsuko   # adjust filenames if different
./numsuko

About

ᴛʜɪꜱ ᴄ ᴘʀᴏɢʀᴀᴍ ɪꜱ ᴀɴ ɪɴᴛᴇʀᴀᴄᴛɪᴠᴇ ɴᴜᴍʙᴇʀ ɢᴜᴇꜱꜱɪɴɢ ɢᴀᴍᴇ ᴛʜᴀᴛ ᴄʜᴀʟʟᴇɴɢᴇꜱ ᴛʜᴇ ᴜꜱᴇʀ ᴛᴏ ɢᴜᴇꜱꜱ ᴀ ʀᴀɴᴅᴏᴍʟʏ ɢᴇɴᴇʀᴀᴛᴇᴅ ɴᴜᴍʙᴇʀ ᴡɪᴛʜɪɴ ᴀ ʟɪᴍɪᴛᴇᴅ ɴᴜᴍʙᴇʀ ᴏꜰ ᴀᴛᴛᴇᴍᴘᴛꜱ.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages