Changeset 116 for Alpha/constants.py


Ignore:
Timestamp:
04/14/12 16:01:01 (3 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.

File:
1 edited

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')]
Note: See TracChangeset for help on using the changeset viewer.