Whack a Rat!

Fun Action Game

I wanted my second solo developed video game to have a little more action than my previous, the turn-based Nought and Crosses. I settled for a clone of Whac-A-Mole.

Again using HTML, CSS and JavaScript, I created a version of the popular mole whacking game with rats and cats instead of moles. It features multiple difficulty levels with increasingly complex gameplay, adding larger grids, and variations of rats with different abilities to the mix.

I edited and reused many of the same assets from the previous game, but in a very different way, as well as adding some new ones. This time I wanted to include some simple animations, to make the game feel more interactive when the characters are clicked. To achieve this, I taught myself how to perform CSS animations, and carried those out using JavaScript Promises.

I'm very pleased with how the final game turned out. It's a fun game to play to challenge yourself to achieve a higher score next time, and as the app is responsive, the smaller two of the three level grids can be played on mobile as well.