A short Engine to randomize fighting monsters in Javascript
I'm going to have a set of monsters with different attacks, cooldowns and names.
var Monsters = {
{
name: "Orc",
attack: 1,
cooldown: 1
},
{
name: "Wizard",
attack: 2,
cooldown: 0.5
},
...,
{
name: "Programmer",
attack: 0.01,
cooldown: 5
}
}
Choose one randomly, then display it. UI is iffy right now.
I have a random creature engine now. Now I need a way to attack them and have them attack me.
Silly me, I forgot to push the changes. My rookie mistakes have been sitting unfixed while I say it's perfect. Wow. Pushing now.
Just decided to set up Github Pages so I can see it in the browser on Github, not on a python localhost.