Public feed #888667

Anonymous

public text v1 · immutable
Raw Edit
·published 2008-02-02 09:14 UTC
rendered paste body
#####################################################################################################
# original author: Derek Mcdonald								    #
# with help from: R.J. Marsan									    #
#####################################################################################################
# A recreation of the classic title "Pong"							    #
#####################################################################################################
 
 
import pygame
from pygame.locals import *
import MainMenu
import iput

#initialize the pygame engine#
pygame.init()

#make our imported classes into callable objects#
test = MainMenu.menu()
iputtest = iput.CheckKeyboard()

#Call all objects to set up the game before the menu loop begins#
test.DrawMenu()
test.DrawBall()

#The mainloop variable, like a switch to the world............"
MainLoopVar = 1
#main loop#
while MainLoopVar == 1:
	test.BallSel()
	pygame.display.flip()