Skip to content

webdev-desktop/Pin-Hunt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽฏ PIN HUNT

๐Ÿ”— Play Now

A fun and interactive 4-digit PIN guessing game built using pure HTML, CSS, and JavaScript. Test your luck, crack the code, and enjoy a playful twist with a hidden developer console surprise ๐Ÿ˜ˆ


โœจ Key Highlights

  • โšก Fast and lightweight (no frameworks)
  • ๐Ÿ”ข OTP-style input with auto focus
  • ๐ŸŽฏ Auto-submit on 4th digit entry
  • ๐ŸŽ‰ Confetti celebration on win
  • ๐Ÿ˜ข Smart feedback with correct PIN reveal
  • ๐Ÿง‘โ€๐Ÿ’ป Funny developer console interaction
  • ๐Ÿ“ฑ Fully responsive UI

๐Ÿ› ๏ธ Tech Stack

  • HTML5
  • CSS3
  • JavaScript

๐Ÿš€ Features

  • ๐Ÿ”ข Enter 4-digit PIN with smooth input navigation
  • โšก Instant auto-submit on last digit
  • ๐ŸŽ‰ Win animation with confetti effect
  • โŒ Wrong guess shows correct PIN
  • ๐Ÿ” Auto reset for continuous gameplay
  • ๐ŸŽฏ Keyboard support (Enter to submit)
  • ๐Ÿ˜ˆ Hidden console message for developers

๐Ÿ“ธ Screenshots

๐Ÿ“ธ Desktop Preview ๐Ÿ“ธ Mobile Preview


โš™๏ธ Installation

Follow these steps to run the project locally:

# 1. Clone the repository
git clone https://github.com/webdev-desktop/Pin-Hunt.git

# 2. Navigate into the project folder
cd Pin-Hunt

# 3. Open in browser
Open index.html

๐Ÿง‘โ€๐Ÿ’ป How to Play

  1. Enter a 4-digit number
  2. The input auto moves like OTP
  3. On the last digit โ†’ game auto submits
  4. If correct โ†’ ๐ŸŽ‰ You win
  5. If wrong โ†’ ๐Ÿ˜ข Correct PIN is revealed
  6. Game resets automatically ๐Ÿ”

๐Ÿ”ฎ Future Improvements

  • ๐Ÿ”ข Attempt counter system
  • โฑ๏ธ Timer-based challenge mode
  • ๐Ÿ† Leaderboard system
  • ๐Ÿ”Š Sound effects (win/lose)
  • ๐ŸŽจ Theme customization

๐Ÿค Contribution

Contributions are welcome!

# Fork the repo
# Create a new branch
git checkout -b feature/your-feature

# Commit changes
git commit -m "Add your feature"

# Push to branch
git push origin feature/your-feature

Then open a Pull Request ๐Ÿš€


๐Ÿ‘จโ€๐Ÿ’ป Author

Apurv ๐Ÿ”— GitHub


๐Ÿ“„ License

This project is licensed under the MIT License.


โญ Support

โญ If you enjoyed cracking the code, don't forget to star the repo!

About

๐Ÿ”ข An interactive 4-digit PIN guessing game featuring OTP-style input, auto-submit, win/lose animations, confetti effects, and a fun developer console twist ๐Ÿ˜ˆ

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors