Another roguelike tutorial in cpp