The Number Guessing Game is a fun and interactive game where players try to guess a randomly generated number between 1 and 100. The game provides feedback on whether the guess is too high or too low and tracks the number of remaining chances. The simple yet engaging design ensures an enjoyable user experience.
- Central Screen Display: Presents a prompt asking players to select a number between 1 and 100.
- Input Field: Allows players to input their guessed number.
- Check Button: Validates the player's guess against the randomly generated number.
- Dynamic Feedback: Provides immediate feedback indicating whether the guess is too high, too low, or correct.
- Congratulations Message: Displays a congratulatory message upon guessing the correct number.
- Replay Button: Converts the check button into a replay button to restart the game after a correct guess.
- Chances Counter: Tracks and displays the number of chances left, updating with each incorrect guess.
- HTML: Structure of the game interface.
- Tailwind CSS: Styling framework for UI components.
- TypeScript: Programming language for game logic and interactivity.