code: function printFloorMap(floorMap) {
    printLine(
      floorMap
        .map(row =>
          row
            .map(({ character, unit }) => {
              if (unit) {
                return getUnitStyle(unit)(character);
              }
  
              return character;
            })
            .join(''),
        )
        .join('\n'),
    );
  }
docs: Prints the floor map.
  
  @param {Object[][]} floorMap The map of the floor.