b = bot.receive() print(b) # Get power auction. # Recieve auction token if b == "auction": print("Got auction") play.decide_auction() # bot.auction_response() print("responding to auction") elif b == "auction_result": print("Got auction result") elif b == "bet": print("received bet") play.decide_bet() print("responding to bet") # TODO: If power add later elif b == "summary": print("received summary") bot.show_winner() # TODO: # output summary to the user # break elif b == "bankrupt": print("we f****d it...") bot.sock.disconnect()