Advertisement
ForeverDev

Untitled

Oct 7th, 2014
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.20 KB | None | 0 0
  1. local words = {
  2.     clamor = "a loud uproar, as from a crowd of people; a vehement expression of desire or dissatisfaction; popular outcry; any loud and continued noise",
  3.     crane = "to hoist, lower, or move; to stretch (the neck)",
  4.     reluctant = "unwilling; disinclined; struggling in opposition.",
  5.     peter = "to diminish gradually and stop; to dwindle to nothing; to tire; to exhaust",
  6.     disconsolate = "without solace; hopelessly unhappy; characterized by or causing dejection; cheerless; gloomy",
  7.     subsidiary = "serving to assist or supplement; auxiliary; subordinate or secondary",
  8.     adjacent = "lying near, close, or contiguous; adjoining; neighboring; just before, after, or facing",
  9.     fend = "to ward off (often followed by off); to resist or make defense; to parry, to fence",
  10.     superannuated = "retired because of age or infirmity; too old for use, work, service, or a position; antiquated or obsolete",
  11.     callous = "made hard; hardened; insensitive; indifferent; unsympathetic"
  12.  
  13.    
  14.     Conveyance = "a means of transporting, especially a vehicle, as a bus, airplane, orautomobile",
  15.     Resonant = "echoing or sustaining a sound or image or feeling",
  16.     Exasperated = "to irritate or provoke to a high degree; to annoy extremely",
  17.     Anteroom = "a waiting room",
  18.     Rejoinder = "an answer to a reply, a response",
  19.     Fastidious = "excessively particular, critical, or demanding; hard to please; requiring or characterized by excessive care or delicacy; painstaking.",
  20.     Virtuous = "conforming to moral and ethical principles; morally excellent; upright",
  21.     Tarpaulin = "a protective covering of canvas or other material waterproofed with tar, paint, or wax",
  22.     Pluperfect = "designating a past verb tense",
  23.     Sedation = "the calming of mental excitement, especially by the administration of a drug."
  24.    
  25.     Spherical = "having the form of a globe; round; pertaining to the heavenly bodies or to their supposed revolving patterns",
  26.     Retribution = "repayment according to merits or desserts, especially for evil; revenge; the distribution of rewards and punishments in a future life.",
  27.     Lurch = "to awkwardly sway or stagger in motion or gait; (of a ship) to roll or pitch suddenly.",
  28.     Invariable = "not changing or capable of being changed; static or constant.",
  29.     Designate = "to mark or point out; to show; to indicate; to name; to nominate or select for a duty, office, purpose, etc.",
  30.     Nonchalant = "coolly unconcerned, indifferent, or unexcited; casual",
  31.     Ablutions = "a cleansing with water or other liquid, especially as a religious ritual (baptism); a washing of the hands, body, etc",
  32.     Glint = "a tiny, quick flash of light or a flash of an idea; gleaming brightness; luster; inkling; trace.",
  33.     Rapture = "ecstatic joy or delight; joyful ecstasy",
  34.     Grapple = "to hold or make fast to something; to wrestle; to engage in a struggle or close encounter; to try to overcome"
  35. }
  36.  
  37. while true do
  38.     local correct, incorrect = 0, 0
  39.     for key, def in pairs(words) do
  40.         local input;
  41.         print(def .. " -> ") input = io.read()
  42.         if input:lower() == key:lower() then
  43.             correct = correct + 1
  44.             print("CORRECT!\n")
  45.         else
  46.             incorrect = incorrect + 1
  47.             print("WRONG : " .. key .. "\n")
  48.         end
  49.     end
  50.     print("CORRECT: " .. correct .. " / " .. correct + incorrect)
  51. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement