old_contents: 
  
  
  print("Hello World!")
new_contents: import random
  
  class GuessBoard:
      def __init__(self, min, max, target):
          self.min = min
          self.max = max
          self.target = target
  
  
  class GuessRuleBook:
  
      def GetNewBoard(boardOptions):
          min = (boardOptions and boardOptions[min]) or 1
          max = (boardOptions and boardOptions[max]) or 6
          if not isinstance(min, int): raise ValueError(f"min must be a whole number: {min}")
          if not isinstance(max, int): raise ValueError(f"max must be a whole number: {max}")
          if min > max: raise ValueError(f"min () must not be greater than max ()")
          target = random.randint(min, max)
          return GuessBoard(min, max, target)
  
  
  print("Let's Play!")
  
  ruleBook = GuessRuleBook
  board = ruleBook.GetNewBoard(None)
  
  print(board.target)
  
subject: add GetNewBoard to Guess