https://github.com/monnus/guessnumberts
Guess Number is a simple game to guess well, a "number". you have 10 Guesess availible, Guess wrong and your attemps decreases, guess Right and your score goes up. "Try again" to start a new round.
https://github.com/monnus/guessnumberts
css html js typescript
Last synced: about 1 month ago
JSON representation
Guess Number is a simple game to guess well, a "number". you have 10 Guesess availible, Guess wrong and your attemps decreases, guess Right and your score goes up. "Try again" to start a new round.
- Host: GitHub
- URL: https://github.com/monnus/guessnumberts
- Owner: Monnus
- Created: 2023-07-02T13:09:47.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-17T22:54:17.000Z (over 1 year ago)
- Last Synced: 2025-06-20T12:46:48.659Z (12 months ago)
- Topics: css, html, js, typescript
- Language: TypeScript
- Homepage: https://monnus.github.io/GuessNumberTS/
- Size: 34.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Guess the number game
writen in:
- JS
- TypeScript
Guess the number game is a game
is a challange that I have complete from jonas.io cource
the Challenge teaches you how to minipulate the DOM elements and set the contents back to default this challange also introduces refactoring of JS vanilla.
# How it should look like

## How to use
1. By default a random number is already loaded when the web page opens, all you need to do is insert a number in the number box and click "check"
2. Notice to the right, where it says score. Meaning you have have 10 attempts to guess the number correctly. When all attempts finish the game ends.
3. Also on the right hand side you have the "highest score" telly from this it keeps count of how many times you've guessed correct.
4. As stated once all chances are used up, on the top left corner click again to start the game oveer.
Note:If perhaps you've given up and want the answer to the mystery number. Open the Web browser console and see the logs. You will find the number. insert it into the answer box and see the web page change.

Access the demo here.