コード例 #1
0
ファイル: main.py プロジェクト: zachpanz88/gset-kinect
def run():

	game = Game("Pong")
	game.start()

	# create and start the controller
	controller = Controller(game)
	controller.start()

	# keep looping the game
	while True:

		# tell the controller to get the next frame
		controller.go()

		# add a little render delay
		# 60 fps
		game.delay(.016)