Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Hey, I think this is happening because you are pushing an array in there not the actual object.

Change this:

game.monsters.push([createBeing(makeMonster, freeCells)]);

To this:

game.monsters.push(createBeing(makeMonster, freeCells));

Removing the square brackets will just push the one monster into the monsters array.

Ahh thanks! That works; I was close lol. Your boilerplate is great I'm using it for Game Off 2021. Might continue to make more games with this once I become more familiar with rot.js

No problem, I’m glad it’s useful.