-- Monster Battle -- starter. -- Run with: lua projects/monster-battle/starter.lua -- TODO 1: build a Monster class with .new(name, hp, attack) and methods -- :isAlive() -> hp > 0 -- :hit(other) -> deal math.random(1, self.attack) damage to other, -- never below 0, and print what happened. -- TODO 2: create two monsters (a hero and a goblin) with their own -- hp and attack values. -- TODO 3: a while loop: while both are alive, the hero hits, then the -- goblin hits back if it is still alive. Count the rounds. -- TODO 4: after the loop, print which monster won.