diff --git a/contributors/contributorsList.js b/contributors/contributorsList.js index 2146cd3..eb0c45b 100644 --- a/contributors/contributorsList.js +++ b/contributors/contributorsList.js @@ -8,5 +8,10 @@ contributors = [ id: 2, fullname: "sample 2", username: "https://github.com/TechHack3", + }, + { + id: 3, + fullname: "Bryan King Pecho", + username: "https://github.com/bkpecho", } ]; diff --git a/projects/guessTheNumberGame/README.md b/projects/guessTheNumberGame/README.md new file mode 100644 index 0000000..519eb6f --- /dev/null +++ b/projects/guessTheNumberGame/README.md @@ -0,0 +1,34 @@ +# Guess the Number Game + +This is a simple "Guess the Number" game implemented in JavaScript. In this game, the computer generates a random number between 1 and 100, and the player's objective is to guess the correct number. + +## How to Play + +1. Open the `index.html` file in your web browser. + +2. You will see a text input field where you can enter your guesses. + +3. Click the "Submit Guess" button to submit your guess. + +4. You will receive feedback on your guess. If your guess is too high, you'll be told to try a lower number, and if it's too low, you'll be prompted to try a higher number. + +5. Keep guessing until you correctly guess the random number generated by the computer. + +6. Once you guess the correct number, you'll receive a message with the number of attempts it took you to win the game. + +## Features + +- Random number generation between 1 and 100. +- User input validation for numeric guesses. +- Feedback messages to guide the player. +- Keeps track of the number of attempts. + +## Customization + +Feel free to customize this game to add more features or make it visually appealing. You can modify the HTML and CSS to enhance the user interface or add additional functionality, such as a high-score leaderboard or a timer. + +## Author + +Created by [Bryan King Pecho](https://github.com/bkpecho) + +Enjoy playing the game! diff --git a/projects/guessTheNumberGame/index.html b/projects/guessTheNumberGame/index.html new file mode 100644 index 0000000..da20308 --- /dev/null +++ b/projects/guessTheNumberGame/index.html @@ -0,0 +1,41 @@ + + + + Guess the Number Game + + +

Guess the Number Game

+

Guess a number between 1 and 100:

+ + +

+ + + +