diff gamelib/main.py @ 2:e057e9483488

Added pyweek skellington.
author Jeremy Thurgood <firxen@gmail.com>
date Sun, 30 Aug 2009 11:58:53 +0000
parents
children e8ddbc95cbf3
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gamelib/main.py	Sun Aug 30 11:58:53 2009 +0000
@@ -0,0 +1,13 @@
+'''Game main module.
+
+Contains the entry point used by the run_game.py script.
+
+Feel free to put all your game code here, or in other modules in this "gamelib"
+package.
+'''
+
+import data
+
+def main():
+    print "Hello from your game's main()"
+    print data.load('sample.txt').read()