Skip to main content

JavaScript Challenge #2 (Whac-A-Moo)

Tags:
Reading time: 1 minute Suggest an edit

Though I am not a proponent of the MooTools JavaScript framework, their blog is an interesting resource that I enjoy reading. Not only is it packed with sensible practices and interesting insights, but they have recently begun posting JavaScript challenges where developers are tasked with building whatever system is presented in the example.

Most recently, the challenge involved building a "Whack-A-Mole" game in JavaScript. Since I'm not a MooTools user, I decided to use pure, vanilla JS rather than solving the challenge with another library (namely, jQuery). You can play my result on jsFiddle.net. Enjoy!