kivy/examples/tutorials/pong/steps/step2/main.py

14 lines
239 B
Python
Raw Normal View History

2012-01-11 03:53:01 +00:00
import kivy
from kivy.app import App
from kivy.uix.widget import Widget
class PongGame(Widget):
pass
class PongApp(App):
def build(self):
return PongGame()
if __name__ in ('__android__', '__main__'):
PongApp().run()