A Javascript rogue like using canvas