Changeset 116 for Alpha/constants.py

Show
Ignore:
Timestamp:
04/14/2012 04:01:01 PM (2 years ago)
Author:
mmurphy
Message:

The high score file now holds an object, rather than just an array. It is now stored as a member variable of MenuHandler?, rather than in the constants.py file. Also, now the high scores are split into Campaign and Survival.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Alpha/constants.py

    r114 r116  
    4343        self.PUZZLECORDS = [BRIDGE, SWORD] 
    4444 
     45        """ 
    4546        try: 
    4647            self.HIGHSCORES = cPickle.load( open( "scores.txt", "rb" ) ) 
    4748        except: 
    4849            self.HIGHSCORES = [] 
     50            """ 
    4951             
    5052        #[(10000, 'a', 'test'),(20000, 'b', 'test'), (30000, 'c', 'test')]