Skip to content

aavvvacado/own-projects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Guess the Secret Number Game

Welcome to the Guess the Secret Number game! This is a fun and challenging number-guessing game written in C language. You have limited attempts to crack the code and guess the secret number!

Table of Contents

Game Rules 🎯

Get Ready for the Challenge!

  • You've got three attempts to guess the secret number between 0 and 10.

Sharp Eyes, Quick Mind!

  • Pay attention to the hints; they guide you to uncover the mystery.

Hot on the Trail? Very Close!

  • If the hint says "very close", you're within 2 or less of the secret number.

Feel the Tension? You're Close!

  • If it says "close", you're within 4 or less.

Distant Echoes? You're Far!

  • If it says "far", your guess is off by 6 or more.

The Clock is Ticking!

  • Time is limited, so think fast and make your guesses count!

Prerequisites 📌

To run this game, you need:

  • A C compiler such as GCC.

Installation ⚙️

  1. Clone this repository:
    git clone https://github.com/aavvvacado/own-projects.git
    cd own-projects
  2. Compile the game:
    gcc guess_number.c -o guess_game
  3. Run the game:
    ./guess_game

How to Play 🎮

  • Run the game and follow the hints to guess the secret number.
  • Use logic and deduction to crack the code within three attempts.
  • Have fun and challenge your friends!

Contribution 🤝

  1. Fork the repository.
  2. Create a new branch: git checkout -b feature-branch.
  3. Commit your changes: git commit -m 'Add new feature'.
  4. Push the branch: git push origin feature-branch.
  5. Open a Pull Request.

License 📜

This project is licensed under the MIT License.

Contributors ✨

  • Owner: aavvvacado
  • Future Contributors: Contributions are welcome! Feel free to submit a pull request.

Support & Star ⭐

If you found this project fun and useful, please consider giving it a ⭐ on GitHub!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages