make game display a window as well
authorNeil <neil@dip.sun.ac.za>
Sun, 14 Apr 2013 11:55:59 +0000 (13:55 +0200)
committerNeil <neil@dip.sun.ac.za>
Sun, 14 Apr 2013 11:55:59 +0000 (13:55 +0200)
erdslangetjie/__main__.py

index 0163bf0d6fcfa0a49241f367771bfe2150d2e8ed..c6bc969936b6ac889226a0f69988453e7dbe5321 100644 (file)
@@ -1,4 +1,22 @@
+import kivy
+
+kivy.require('1.6.0')
+
+from kivy.app import App
+from kivy.uix.widget import Widget
+
+
+class GameWindow(Widget):
+    pass
+
+
+class GameApp(App):
+
+    def build(self):
+        return GameWindow()
+
 
 def main():
     """ Erdslangetjie, a maze game of eluding nemesis
     """
+    GameApp().run()