Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import random
- import time
- ordn = 0
- qua = 0
- master = ""
- wir_e = ["skulduggery", "jar", "clarsach", "growl", "slugabed", "ledger", "jibe", "audiation", "ply", "muliebrity", "nervous", "dekulakize", "triangulation", "conversely", "pendragon", "carbonado", "pronoia", "haul", "stance", "histrionic", "vamp", "analphabet", "esurient", "rainmaker", "husbandry", "hobbyist", "deglutition", "caressive", "boffin", "gassy", "pipe", "finesse", "koha", "cachexia", "flare", "inexorable", "dehort", "caliginous", "emu", "brumous", "gigot", "pomander", "acquit", "gumption", "banausic", "bounden", "darkly", "blotto", "blooper", "cryptodepression", "puffling", "prescient", "tumultuous", "supine", "dashcam", "trice", "box", "mistletoe", "parse", "oneiromancy", "chilly", "leister", "turntable", "prototype", "sinew", "defervesce", "plaque", "fard", "elevenses", "deperm", "dame", "irregardless", "ohana", "conglomerate", "archetype", "sowl", "loch", "bivious", "mirative", "illustrious", "chatelaine", "battue", "exiguity", "ariose", "remora", "belluine", "borborygm", "marocain", "monopsony", "seasteading", "fruiterer", "hydrophobia", "overproof", "armistice", "heresiarch", "arrowroot", "wendigo", "endmember", "audient", "recension", "amigurumi", "homily", "bloodthirsty", "talaria", "shunt", "fruitless", "patronize", "daft", "corkage", "tattle", "potsherd", "list", "demimonde", "wheelie", "aquaponics", "mickle", "troth", "scour", "main", "ferrule", "acute", "slivovitz", "disrecommend", "plesionym", "wasm", "balconic", "ageful", "supernumerary", "xebec", "apricate", "ruse", "gamboge", "raunchiness", "abase", "utopographer", "cherish", "cybernat", "warrant", "cummerbund", "jumbo", "rantistirion", "nitty", "ostrichism", "necessitate", "colonelcy", "baragouin", "zowerswopped", "aegis", "thrice", "dernier", "lepak", "undercurrent", "rakhi", "endearing", "runway", "badass", "repdigit", "nosegay", "insouciant", "freewheeling", "juvenile", "doofer", "bosomy", "klaxon", "luminary", "unwittingly", "august", "adret", "deadfall", "numinous", "fetial", "sassywood", "mink", "maverick", "forex", "lucre", "prowess", "emoji", "champagne", "regmaglypt", "shrill", "acquis", "faze", "gramarye", "chic", "cirque", "behove", "enormity", "moccasin", "mythos", "tortoni", "abiogenesis", "stonewall", "moiety", "catheter", "fiendishly", "melomaniac", "barcarole", "shrithe", "zongzi"]
- zu = random.sample(wir_e, 200)
- def gem(ordn, qua):
- if ordn > 199:
- print("You actually have won the game & guessed all the words the author added, go and have some rest... No one is more deserving of a rest.")
- else:
- finished = False
- fe = 0
- anz = "You've guessed"
- gen = ["A-ha!", "Aha!", "Bingo!", "Eureka!", "Exactly!", "Got it!", "That's it!", "Yes!"]
- au = ["Cheers'en!", "Cheerzen!"]
- master = zu[ordn]
- word = list(master)
- length = len(word)
- right = list("_" * length)
- while finished == False:
- guess = input("Guess a letter! ")
- if guess not in master:
- fe += 1
- print("This letter is not in the word.")
- for letter in word:
- if letter == guess:
- index = word.index(guess)
- right[index] = guess
- word[index] = "_"
- print(random.choice(gen))
- print(right)
- if list(master) == right:
- qua += 1
- ordn += 1
- print(anz, master.upper())
- ac = "But you made a mistake " + str(fe) + " times."
- if fe >= 26:
- print(ac, "How come?! You dunno how to play, as a matter of fact!!")
- elif fe >= 13:
- print(ac, "It seems too difficult for you, init?")
- elif fe >= 9:
- print(ac, "Well, that's OK")
- elif fe >= 7:
- print(ac, "That's pretty cool, you're doing it pretty well.")
- elif fe >= 5:
- print(ac, "You rock!")
- elif fe >= 2:
- print("Are you a native speaker? Only", str(fe), "mistakes.")
- elif fe == 1:
- print("You've made 1 mistake...")
- else:
- print("It's impossible! No mistakes. How come? Ew, cheater.")
- if qua < 2:
- print(anz, str(qua), "word! Try it once more.")
- else:
- print(anz, str(qua), "words already! Attaboy :D")
- quai = input("""Wanna play again? y/n
- """)
- if quai == "n":
- print(random.choice(au))
- time.sleep(1)
- exit()
- elif quai == "y":
- print("then...")
- gem(ordn, qua)
- else:
- def sto(au):
- gr = input("""PRINT EITHER y OR n
- """)
- if gr == "n":
- print(random.choice(au))
- time.sleep(1)
- exit()
- elif gr == "y":
- gem(ordn, qua)
- else:
- sto(au)
- sto(au)
- finished = True
- gem(ordn, qua)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement