From 4d5f03116b4270fc7eeecfc8dbe34b68d70273e9 Mon Sep 17 00:00:00 2001 From: Miguel Angel Astor Romero Date: Sun, 13 Jan 2013 13:00:01 -0430 Subject: [PATCH] Read the score database in MenuState. --- database.py | 7 ++++++ db/scores.db | Bin 3072 -> 3072 bytes intro.py | 15 +++++++++++-- main.py | 3 +++ menu.py | 62 +++++++++++++++++++++++++++++++++++++++++++++++---- 5 files changed, 81 insertions(+), 6 deletions(-) create mode 100644 database.py diff --git a/database.py b/database.py new file mode 100644 index 0000000..aa1464e --- /dev/null +++ b/database.py @@ -0,0 +1,7 @@ +############################################ +# Created on 1-13-2013. Miguel Angel Astor # +############################################ +import sqlite3 + +scores = sqlite3.connect('db/scores.db') +cursor = scores.cursor() diff --git a/db/scores.db b/db/scores.db index ff9aad392ca574bc4470d085321cf9c58db499ac..adf54c80bb69c32e6d2b51538a11d18715043042 100644 GIT binary patch delta 123 zcmZpWXpop7&B!uQ#+i|2W5PmqN#5OZw3YiE+7U`tZ>o)Tr6<*KQ3lC`!5$0oc#v?T8SKU delta 123 zcmZpWXpop7&B!!S#+i|6W5PmqNd^W6R^}rN%wL#aFyCRmz