🎮 WDC #12 Let's Play Whac-a-Mole™️

Iced Tea Toss

Inspiration: This is an homage to a game I used to enjoy as a kid, Tapper.

How to play: The idea is that customers are lining up at a bar to be served iced tea. You’re the bartender and you have to move up and down (arrow buttons) and serve iced tea (tea button) to each customer before they get to the end of the bar. But be careful! If you toss an iced tea and there’s no customer to catch it, the glass is going to break and you’ll be fired.

Developer Experience: I had a lot of fun making this and a fair amount of frustration. I understand the canvas components so much better now but small math glitches are causing major problems in my game. The grid that the movement is based on is divided into 100 pixels but the math bugs alter that so that things go a bit haywire. You can even pitch a curve ball for some strange reason…

Regardless, I hope you enjoy it! I spent so much time trying to fix the math/movement that I didn’t get as far in the development as I wanted to. So there’s no game over screen or restart button. But enough excuses!

PLAYABLE DEMO → Web App: bit.ly/icedteatoss2

I recommend playing it on a mobile device.

6 Likes