Inspiration
We wanted to build something simple yet impactful — a tool to help people become more aware of their anxiety patterns and feel a small sense of control in stressful moments. With mental health being a growing concern, especially among students and tech workers, we created a gamified, lightweight experience: tap a duck when you're anxious, and gain insight and encouragement along the way.
What it does
- Allows users to tap a duck to log moments of anxiety
- Provides sound and visual feedback to help self-soothe
- Tracks daily and weekly tap patterns and displays them in charts
- Uses Gemini AI to offer personalized feedback, encouragement, and advice
- Fully responsive, installable as a PWA, and works offline
How we built it
- Frontend: HTML, CSS, JavaScript (Vanilla + Tailwind), ECharts, PWA with Service Worker + Manifest
- Backend: Node.js, Express.js, MongoDB Atlas (hosted on Heroku)
- AI Integration: Google Gemini 2.0 Flash via REST API
- Storage: LocalStorage for temporary counts, MongoDB for persistent user data
- Deployment:
- Frontend: GitHub Pages
- Backend: Heroku API
Challenges we ran into
- Handling overlapping audio playback for quick taps without cutting off sounds
- Making the app feel smooth and emotionally soothing on both desktop and mobile
- Integrating Gemini AI in a friendly, non-clinical tone using prompt engineering
- Managing cross-origin requests between GitHub Pages and Heroku-hosted APIs
Accomplishments that we're proud of
- Created a polished, installable mobile PWA that works offline
- Fully functional user system with login, registration, and persistent data
- Integrated generative AI to provide actual emotional support
- A calming, delightful user interface that works well across devices
- Simple to use — just tap, and you're already reflecting and healing
What we learned
- How to structure full-stack apps with separate hosting for frontend/backend
- How to handle real-time visual/audio feedback in JavaScript
- How to work with Google’s Gemini API and craft wellness-focused prompts
- How impactful a simple idea can be when paired with thoughtful UX
What's next for Anxiety Tap Game
- Add more duck sounds and emotional feedback states (e.g., stressed, relaxed)
- Support journaling after taps for deeper emotional tracking
- Export or email weekly reports to users
- Enable themes and light/dark mode
- Build a streak feature to encourage self-awareness habits
- Connect with licensed therapists for pro-mode guidance (with consent)
Log in or sign up for Devpost to join the conversation.