def drawLevel1(): # draw stuff ... # Replace True with your condition for # advancing to level two if True: level = 2