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

14 lines
222 B
Python

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__ == '__main__':
PongApp().run()