Treasure Hunt - Resonance'25 is an interactive game built using Streamlit where users log in, answer location-based questions, and progress through a treasure hunt by solving clues.
✅ User authentication (Login with username & password)
✅ Dynamic question-answer system
✅ Hints for tricky questions
✅ Session-based state management
- 🐍 Python
- 🎨 Streamlit
- 🔄 Requests (API calls)
- 🔐 dotenv (For environment variable management)
git clone <repository-url>
cd <repository-folder>python -m venv venv
source venv/bin/activate # On macOS/Linux
venv\Scripts\activate # On Windowspip install -r requirements.txtCreate a .env file in the root directory and add your API URL:
API_URL=http://localhost:7153
streamlit run app.py1️⃣ Login using your credentials.
2️⃣ Solve questions based on the location clues.
3️⃣ Submit answers to progress through the treasure hunt.
4️⃣ Need help? Click "Get Hint" for guidance.
5️⃣ Keep solving until you complete the hunt!
- The
.envfile is ignored in.gitignoreto keep API credentials safe. - Never expose sensitive data in the frontend.
🚀 Leaderboard integration
🚀 Timer-based challenge mode
🚀 Multiplayer support
Feel free to fork, enhance, and submit a pull request!
Happy Hunting! 🏆