An rpg game written in js