Ejemplo n.º 1
0
        
    elif gameState.displayCM:
        gameState.clear()
        pygame.time.wait(1000) #give the player time to see the computer's selections
        
        if turnNumber == 7:
            gameState.waitP = True
            turnNumber = 0
            if handNumber == 5:
                gameState.clear()
                gameState.last = True
            else:
                handNumber += 1
        else:
            turnNumber += 1
            gameState.waitGM = True
   
    elif gameState.waitCM2:
        gameState.clear()
        gameState.displayCM = True

    elif gameState.waitRO:
        pygame.time.wait(3000)
        gameState.clear()
        gameState.roundOver = True


    #-- the prep state: dealing cards to the two players and possibly the table --#
    if gameState.prep:
        #on the first hand, deal 4 to the table
        if handNumber == 0: