code: function printBoard(floorMap, warriorStatus, offset) {
    if (offset > 0) {
      const floorMapRows = floorMap.length;
      print(ansiEscapes.cursorUp(offset + floorMapRows + warriorStatusRows));
    }
  
    printWarriorStatus(warriorStatus);
    printFloorMap(floorMap);
  
    if (offset > 0) {
      print(ansiEscapes.cursorDown(offset));
    }
  }
docs: Prints the game board after moving the cursor up a given number of rows.
  
  @param {Object[][]} floorMap The map of the floor.
  @param {Object} warriorStatus The status of the warrior.
  @param {number} offset The number of rows.