projects
/
erdslangetjie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
743cc9f
)
make game display a window as well
author
Neil
<neil@dip.sun.ac.za>
Sun, 14 Apr 2013 11:55:59 +0000
(13:55 +0200)
committer
Neil
<neil@dip.sun.ac.za>
Sun, 14 Apr 2013 11:55:59 +0000
(13:55 +0200)
erdslangetjie/__main__.py
patch
|
blob
|
history
diff --git
a/erdslangetjie/__main__.py
b/erdslangetjie/__main__.py
index 0163bf0d6fcfa0a49241f367771bfe2150d2e8ed..c6bc969936b6ac889226a0f69988453e7dbe5321 100644
(file)
--- a/
erdslangetjie/__main__.py
+++ b/
erdslangetjie/__main__.py
@@
-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()