#draw hand of he player drawHandCards(playerHand, "PLAYER") # Show the back of the hand of the bot for i in range(2): gameDisplay.blit(backOfCard, (300 + i * 125, 20)) # update display and scores pygame.display.update() #let the bot decide on a move if botHasmove == 0: sim = Simulator(playerHand,tableCards,1000) bot.calc_move(bot.hand, tableCards) print("initieel gecalc zet: "+bot.move) botHasmove = 1 #play the round inzetronde("Dealing") ##########################FLOP############################ ########################################################## while flop: if flopReset==0: #reset values resetRound() flopReset =1 #drawing the flop print("1e keer drawtablecards opgeroepen") print("tablecards: " + str(tableCards))