From 4836dbf00ad545f0add572cfda75bd05d5453aa6 Mon Sep 17 00:00:00 2001 From: Neil Date: Sun, 14 Apr 2013 13:55:59 +0200 Subject: [PATCH] make game display a window as well --- erdslangetjie/__main__.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) 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() -- 2.34.1