Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/game
diff options
context:
space:
mode:
authorDpk3062 <dpk3062@rit.edu>2009-09-02 17:19:53 (GMT)
committer Dpk3062 <dpk3062@rit.edu>2009-09-02 17:19:53 (GMT)
commit1a425e4324c526beffd2c6e7ce5440b1317e6731 (patch)
tree44aa6912f2c2d7943c90179b621b7f8868475314 /src/game
parentf826dda2fd07a572b6b4ec7c8a65562f78502131 (diff)
* Level Options menu has input handling
* Filled in missing function comments * Removed path hard-coding * Added readme.txt with running instructions * Still having Git problems...
Diffstat (limited to 'src/game')
-rw-r--r--src/game/__init__.py0
-rw-r--r--src/game/start.py25
2 files changed, 25 insertions, 0 deletions
diff --git a/src/game/__init__.py b/src/game/__init__.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/src/game/__init__.py
diff --git a/src/game/start.py b/src/game/start.py
new file mode 100644
index 0000000..7b0b3f2
--- /dev/null
+++ b/src/game/start.py
@@ -0,0 +1,25 @@
+'''
+
+'''
+
+import curses
+import config
+from utils import strs
+
+# setup logging
+import logging
+logging.basicConfig(filename=strs.LoggingFile,level=logging.DEBUG)
+log = logging.getLogger('game.start')
+
+
+
+
+def startGame(data):
+ '''Called to start the level. The given data is the same data structure used by the menu system'''
+ #TODO Load the level scripts
+ #TODO Start the server
+ #TODO Start the client
+ #TODO Connect the client to the server
+ print('Wasn\'t that fun?') #TODO remove this line
+ pass
+