- Coding Tutorial: https://youtu.be/ej8SatOj3V4
- Demo: https://imkennyyip.github.io/whac-a-mole/
In this tutorial, you will learn to create the whac a mole game with html, css, and javascript. Specifically, you will learn how to code the game using html5 canvas.
While creating this mario themed whac-a-mole game, you will learn how to use javascript to set the game board by editing dom elements, add click handlers to whack the mole, and randomly spawn the mole and piranha plant.