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.
I added three functionalities of my own to this game.
- The color of the health bar. First it is green and when health reaches 50% it turns red.
- The sound. Every time the bag is punched there is a punching sound.
- When health reached 0%, an alert shows displaying a message.