A simple RPG building in JS, my first game ever