title: Python: Making my adventure game code, begin to "do something."
body: <p>absolute beginner here. I am making a text adventure game to sharpen beginner skills. Can someone give me an example of what could go in my 
  "def firstBattle", function?</p>
  
  <p>Something like a small example of a battle, and updating the Stats and Inventory? Thanks</p>
  
  <pre><code>    def displayIntro():
          # I will update this as I think of more to add
          print(""" You are lord Deadra. You have been sent to Citiel to
                overthrow the current King Navator. Throughout your
                travels, you will encounter various enemies of all
                types. Good luck. """)
  
  
      def displayInventory():
      # Keeps a list of stuff in a dictionary. Because I returned 
      # stuff, I can use this function in other functions to update
          print("Inventory:")
          stuff = {"health potions": 5,
                   "poison": 5,
                   "stamina potions": 5,
                   "go crazy potion": 5,
                   "arrows": 50,
                   "hunting bow": 1,
                   "hunting knife": 1,
                   "big sword": 1,
                   "magic shield": 1}
  
          return stuff
  
  
      def displayStats():
      # Displays initial health stats
          print()
          print("Stats:")
          health = 100
          stamina = 100
          confidence = 100
  
          return "health:",health, "stamina:",stamina, "confidence:",confidence
  
  
      def firstBattle():
      # First encounter with an enemy. After battle, update inventory
      # and health stats
  </code></pre>