Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Simple Kivy pong game

from kivy.app import App
from kivy.uix.widget import Widget
 
class PongGame(Widget):
   pass
 
 class PongApp(App):
   def build(self):
        return PongGame()

 __name__ == '__main__':
    PongApp().run()
Source by kivy.org #
 
PREVIOUS NEXT
Tagged: #Simple #Kivy #pong #game
ADD COMMENT
Topic
Name
2+7 =