print "To Long" #Check if the player clicks the correct square elif board.checkClick(pos, count) == 0: #Add one to count count += 1 #Check if the whole flash liste has been clicked if len(board.flash) == count: playerTurn = False #Plays again (adding a flash) ongoingGame = True #Check if click is outside board elif board.checkClick(pos, count) == 1: print "Out of Bounds" else: #The player has clicked the wrong square... =( send the lengt to know how far player got gui.gameOverBuild(len(board.flash)-1) playerTurn = False initScreen = True gameOver = True #Different screeens, different mouse over checks! if infoScreen == True: gui.homeButton.checkMouseOver() if initScreen == True: for buttons in buttonList: buttons.checkMouseOver() if gameOver == True: gui.homeButton.checkMouseOver() else: gui.infoButton.checkMouseOver()