Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/l0nerof/guess-my-number

Guess My Number - a browser-based game
https://github.com/l0nerof/guess-my-number

css dom game html javascript

Last synced: 26 days ago
JSON representation

Guess My Number - a browser-based game

Awesome Lists containing this project

README

        

# Guess My Number

Guess My Number is a browser-based game where the user must guess a number between 1 and 20. The player has 20 attempts to guess the number, and after each unsuccessful attempt, a hint is displayed whether the hidden number is higher or lower than the guessed number. After the game ends, the best result is recorded, and the game can be restarted immediately. This project was developed to enhance skills in JavaScript, DOM manipulation, HTML, and CSS.

## Features

- **Number Guessing**: Players attempt to guess a hidden number between 1 and 20.
- **Hint Display**: After each incorrect guess, a hint is displayed whether the hidden number is higher or lower.
- **Attempts Counter**: Players have 20 attempts to guess the number.
- **Best Result**: The best result is recorded and displayed after each game.
- **Restart Game**: Players can restart the game immediately after it ends.

## Technology Stack

- **JavaScript**
- **DOM manipulation**
- **HTML**
- **CSS**