A modern, interactive number guessing game built with React and Vite. The game features a sleek UI with gaming-themed elements and smooth animations.
- 🎮 Modern gaming-themed UI with animated elements
- 🎯 Random number generation between 1 and 100
- 💡 Real-time feedback on guesses
- 📊 Attempt counter
- 🎉 Victory celebration
- 🔄 Play again functionality
- 📱 Responsive design for all devices
- 🌈 Beautiful animations and visual effects
- React
- Vite
- JavaScript
- CSS3 (with modern features like backdrop-filter and animations)
- HTML5
- Node.js (version 14 or higher)
- npm (comes with Node.js)
- Clone the repository:
git clone <your-repository-url>
cd game- Install dependencies:
npm install- Start the development server:
npm run dev- Open your browser and navigate to:
- Local: http://localhost:5173
- Network: http://:5173 (when running with --host flag)
- The game generates a random number between 1 and 100
- Enter your guess in the input field
- Click the "Guess" button or press Enter to submit your guess
- You'll receive feedback if your guess is:
- Too high
- Too low
- Correct (with number of attempts)
- After winning, click "Play Again" to start a new game
To run the development server with network access:
npm run dev -- --hostFeel free to submit issues and enhancement requests!
This project is licensed under the MIT License - see the LICENSE file for details.