From: Neil Date: Sun, 14 Apr 2013 11:55:59 +0000 (+0200) Subject: make game display a window as well X-Git-Url: https://git.ctpug.org.za/?a=commitdiff_plain;h=4836dbf00ad545f0add572cfda75bd05d5453aa6;p=erdslangetjie.git make game display a window as well --- diff --git a/erdslangetjie/__main__.py b/erdslangetjie/__main__.py index 0163bf0..c6bc969 100644 --- 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()