Public feed
#888667
#####################################################################################################
# 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()