Advertisement
Guest User

Untitled

a guest
Mar 19th, 2019
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 4.42 KB | None | 0 0
  1. wir = ["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"]
  2. master = ""
  3. import random
  4. zu = random.sample(wir, 200)
  5. ordn = 0
  6. qua = 0
  7. def gem(ordn, qua):
  8.     if ordn > 199:
  9.         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.")
  10.     else:
  11.         master = zu[ordn]
  12.         word = list(master)
  13.         length = len(word)
  14.         right = list("_" * length)
  15.         finished = False
  16.         ordn += 1
  17.         fe = 0
  18.         gen = ["A-ha!", "Aha!", "Bingo!", "Eureka!", "Exactly!", "Got it!", "That\'s it!", "Yes!"]
  19.  
  20.         while finished == False:
  21.             guess = input("Guess a letter! ")
  22.  
  23.             if guess not in master:
  24.                 fe += 1
  25.                 print("This letter is not in the word.")
  26.  
  27.             for letter in word:
  28.                 if letter == guess:
  29.                     index = word.index(guess)
  30.                     right[index] = guess
  31.                     word[index] = "_"
  32.                     print(random.choice(gen))
  33.  
  34.             print(right)
  35.  
  36.             if list(master) == right:
  37.                 print("You\'ve guessed " + master.upper())
  38.                 if fe >= 26:
  39.                     print("But you made a mistake " + str(fe), "times. How come?! You dunno how to play, as a matter of fact!!")
  40.                 elif fe >= 13:
  41.                     print("But you made a mistake " + str(fe), "times. It seems too difficult for you, init?")
  42.                 elif fe >= 9:
  43.                     print("But you made a mistake " + str(fe), "times. Well, that\'s OK")
  44.                 elif fe >= 7:
  45.                     print("But you made a mistake " + str(fe), "times. That\'s pretty cool, you\'re doing it pretty well.")
  46.                 else:
  47.                     print("But you made a mistake " + str(fe), "times. That\'s impossible! Are you a native speaker???")
  48.                 qua += 1
  49.                 if qua < 2:
  50.                     print("Woohoo! You\'ve guessed " + str(qua), "word! Try it once more.")
  51.                 else:
  52.                     print("You\'ve guessed " + str(qua), "words already! Attaboy :D")
  53.                 finished = True
  54.                 gem(ordn, qua)
  55. gem(ordn, qua)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement