This project was inspired by the classic number guessing game we play with friends. I wanted to recreate that simple and fun idea using C programming to practice basic concepts like loops and conditions.# Inspiration
The program generates a random number between 1 and 100, and the user tries to guess it. It gives hints like “Too High” or “Too Low” until the correct number is guessed.
How we built it
We built this project using C programming language. We used random number generation (rand() and srand()), loops, and if-else conditions to control the game logic and user interaction.
Challenges we ran into
Understanding how random number generation works and handling user input correctly were a bit challenging at first. We also had to make sure the loop runs properly until the correct guess is entered.
Accomplishments that we're proud of
We successfully built a fully working interactive game using basic C concepts. Completing this project improved our confidence in programming.
What we learned
We learned how to use loops, conditional statements, and random number functions in C. We also improved our logical thinking and problem-solving skills
What's next for Number Guessing Game (Mobile Style) using C
In the future, we plan to improve the game by adding difficulty levels (easy, medium, hard), a scoring system, limited attempts, and a timer. We also want to design a better mobile-style interface and add sound effects. Later, we can convert it into a simple Android app using C concepts with additional tools.
Built With
- language:-c-compiler:-gcc-/-turbo-c-/-codeblocks-platform:-console-based-application-(windows/linux)-libraries-used:-stdio.h
- stdlib.h
Log in or sign up for Devpost to join the conversation.