A classic number guessing game implemented in both Python (console version) and Web (HTML/CSS/JavaScript) formats. Challenge yourself to guess the secret number between 1 and 100 with helpful feedback!
- Random number generation between 1-100
- Interactive feedback system with color-coded hints:
- 🔵 Blue for "too low"
- 🟠 Orange for "too high"
- 🟢 Green for correct guess
- Attempt counter to track your progress
- Input validation to ensure valid guesses
- Responsive design with clean, modern UI
- The game generates a random secret number between 1 and 100
- Enter your guess in the input field
- Receive feedback: "Too high", "Too low", or "Correct!"
- Keep guessing until you find the secret number
- Try to minimize your attempts for the best score!
├── app.py # Python console version
├── index.html # Web interface structure
├── script.js # Game logic and interactivity
└── style.css # Styling and visual design
- Command-line interface
- Simple text-based interaction
- Perfect for terminal enthusiasts
- Modern, responsive web interface
- Visual feedback with colors
- Click-to-play functionality
- Elegant design with hover effects
- Python - Console version logic
- HTML5 - Web structure
- CSS3 - Styling and animations
- JavaScript - Web game logic and DOM manipulation
- Difficulty levels (different number ranges)
- High score tracking
- Multiplayer mode
- Sound effects
- Hint system after certain attempts
Have fun guessing! Can you beat it in the fewest attempts? 🎉