/punching-bag.github.io

A small Punching Bag Game Based on Javascript

Primary LanguageJavaScript

Vue.js Punchbag game

This game follows the tutorial Vue.js 2 Tutorial (https://www.youtube.com/watch?v=WjfpQlVem-8)

It isn't created using Vue CLI but just using the Vue instance.

My functionalities

I added three functionalities of my own to this game.

  1. The color of the health bar. First it is green and when health reaches 50% it turns red.
  2. The sound. Every time the bag is punched there is a punching sound.
  3. When health reached 0%, an alert shows displaying a message.