Ejemplo n.º 1
0
            dealToTableUI(table.allCards)

        #on all 6 hands, deal 4 cards to each player
        for i in range(4):
            player1.hand.append(deck.draw())
            player2.hand.append(deck.draw())


        populateHandsUI(player1, player2)

        buildChoicesDict = updatedBuildChoicesDict(player1)

        #changing the state based on who is the dealer
        gameState.clear()
        if player1.dealer:
            gameState.waitCM = True
        else:
            gameState.waitGM = True
       


    #-- drawing stuff onto the screen --#
    w.fill(GREEN)
    buildScore(player1, player2)
    buildInstructions()
    
    if firstTime == False:
        buildComputerMove(tup, computerMoveType)
    
    if gameState.gettingMove:
        if moveType != None: