A 1-D Roguelike-like in TypeScript