title: python: using a class to keep track of data used by another class
body: <p>I'm learning Python via book and internet.  I'm trying to keep score of a game in a separate class.  In order to test my idea, i've constructed a simple example.  It looks too complicated for some reason.  Is there a simpler/better/more Pythonic way to do this?</p>
  
  <p>My code is as follows:</p>
  
  <pre><code>import os
  
  class FOO():
      def __init__(self):
          pass
  
      def account(self, begin, change):
          end = float(begin) + float(change)
          return (change, end)        
  
  class GAME():
      def __init_(self):
          pass
  
      def play(self, end, game_start):
          os.system("clear")
          self.foo = FOO()
  
          print "What is the delta?"
          change = raw_input('&gt; ')
  
          if game_start == 0:
              print "What is the start?"
              begin = raw_input('&gt; ')
          else:
              begin = end
  
          change, end = self.foo.account(begin, change)
          print "change = %r" % change
          print "end = %r" % end
  
          print "Hit enter to continue."
          raw_input('&gt; ')
  
          self.play_again(end, game_start)    
  
      def play_again(self, end, game_start):
  
          print "Would you like to play again?"
          a = raw_input('&gt; ')
          if a == 'yes':
              game_start = 1
              self.play(end, game_start)
          else: 
              print "no"
              exit(0)
  
  game = GAME()
  game.play(0, 0)
  </code></pre>