DEV Community 👩‍💻👨‍💻

Discussion on: I built my first JS game! 🎉

Collapse
 
arjenpostma profile image
Arjen Postma

Great job! Small issue: If you move your mouse from start real quick to finish it says you won, even though you went through the wall. (I guess the duck just flew over)

Collapse
 
bukunmikuti profile image
Bukunmi Ransome-kuti

Yeah this happens on mobile also
Clicking start and immediately clicking finish will make an easy win.

Would be nice if the game implemented swipe gestures for mobile 😄
Great work still

Collapse
 
_mikeusa profile image
Mike

Likewise, if you go to start, pull back down to go off-maze and then come back on at finish, it'll say you've won.