def main(): gs = initializeGame() while eventLoop.proceed(gs): # The condition of this while-loop is where gs.frameCounter = gs.frameCounter + 1 # the games is actually taking place endGame(gs)
def main(): gs = gameState.GameState() # Create a state object initializeGame(gs) # Initialize a new game in the state object while eventLoop.proceed(gs): # The condition of this while-loop is where gs.frameCounter = gs.frameCounter + 1 # the games is actually taking place endGame(gs)