Implemented basic gameplay. Assorted fixes to Omni...Actor.

This commit is contained in:
2013-01-21 20:35:30 -04:30
parent 25f27ed5e9
commit 1f9271dcac
3 changed files with 111 additions and 36 deletions

View File

@@ -122,6 +122,7 @@ class ScoreState(BaseState):
score = (str(self.player_init[0] + self.player_init[1] + self.player_init[2]), player.PLAYERS[1].get_score())
database.cursor.execute('UPDATE score SET player_name = ?, score = ? WHERE _id IN (SELECT _id FROM score WHERE score IN (SELECT MIN(score) FROM score))', score)
database.scores.commit()
player.PLAYERS[1].reset_score()
# Don't forget to reset the initials list.
self.player_init = []
self.letter_index = 0