print("Finally, there are some action cards that lower your gluttony level") print("These actions are:") print("Exercise: -2 Laxative: -3") print("") print("Now that you know the rules, it's time to play!") print("Good luck!") print(" ") username = input("Enter your name: ") print("----------------------------------------") print(" ") #################################GAME################################# while True: player_playing_card, player_hand, player_deck = player.player_main(player_hand, player_deck) ai_playing_card, ai_hand, ai_deck = AI.ai_main(ai_hand, ai_deck) player_gluttony, ai_gluttony = gluttony.gluttony_math( ai_playing_card, player_playing_card, ai_gluttony, player_gluttony ) print("----------------------------------------") print("AI used " + str(ai_playing_card)) print(" ") print(" " + str(username) + "'s gluttony level: " + str(player_gluttony)) print(" AI's gluttony level: " + str(ai_gluttony)) print("----------------------------------------") if ai_gluttony >= 30 or len(ai_deck) <= 0: print("You win!") break