Inspiration
Back in high school, I hated playing coolmathgames on Chromebook keyboards, as someone who has always used a mechanical one. Duck Dash is our answer, and it’s also built for people with limited hand mobility who can still move a wrist. We built it using "Run 3" and "Moto 3XM" from coolmathgames as inspirations.
What it does
A UFO steals a duck’s egg, and the duck chases it. The first level is chasing the UFO on a bike, and the second is a space run through a tunnel where gravity flips as the duck hops between planets to get the egg back.
How we built it
The wrist controller is an Arduino Mega reading an MPU-6050 motion sensor over I2C. The bike level is an HTML5 canvas game with custom physics, and the tunnel level uses Phaser.js with a gravity-flip system. The music and sound effects are generated in the browser with the Web Audio API. We used Claude to vibecode.
Challenges we ran into
The biggest challenge was getting the sensor to work. Also, it was a hustle to keep the wiring of the Arduino in place because of all the wrist flicks and movements. This was our first time making a game, so we had to vibecode a lot to make it smooth.
Accomplishments that we're proud of
Beating the game without even touching the keyboard once felt like a huge accomplishment. We made our first game, and it's playable with a wrist sensor!!!!!
What we learned
We learned how to integrate hardware and an embedded system to make an interactive web app. And we gained a deeper understanding of vibecoding.
What's next for Duck Dash
We want to test the game with people who have limited hand mobility. Also, we want to include other games so that the users can get a variety of experiences.