Bläddra i källkod

Wraps at 80 chars.

master
Boris Grozev 9 år sedan
förälder
incheckning
fb6367d687
1 ändrade filer med 95 tillägg och 70 borttagningar
  1. 95
    70
      modules/UI/welcome_page/RoomnameGenerator.js

+ 95
- 70
modules/UI/welcome_page/RoomnameGenerator.js Visa fil

@@ -1,86 +1,111 @@
1
-/* jshint -W101 */
2 1
 //var nouns = [
3 2
 //];
4 3
 var pluralNouns = [
5
-    "Aliens", "Animals", "Antelopes", "Ants", "Apes", "Apples", "Baboons", "Bacteria", "Badgers", "Bananas", "Bats",
6
-    "Bears", "Birds", "Bonobos", "Brides", "Bugs", "Bulls", "Butterflies", "Cheetahs",
7
-    "Cherries", "Chicken", "Children", "Chimps", "Clowns", "Cows", "Creatures", "Dinosaurs", "Dogs", "Dolphins",
8
-    "Donkeys", "Dragons", "Ducks", "Dwarfs", "Eagles", "Elephants", "Elves", "Fathers",
9
-    "Fish", "Flowers", "Frogs", "Fruit", "Fungi", "Galaxies", "Geese", "Goats",
10
-    "Gorillas", "Hedgehogs", "Hippos", "Horses", "Hunters", "Insects", "Kids", "Knights",
11
-    "Lemons", "Lemurs", "Leopards", "LifeForms", "Lions", "Lizards", "Mice", "Monkeys", "Monsters",
12
-    "Mushrooms", "Octopodes", "Oranges", "Orangutans", "Organisms", "Pants", "Parrots", "Penguins",
13
-    "People", "Pigeons", "Pigs", "Pineapples", "Plants", "Potatoes", "Priests", "Rats", "Reptiles", "Reptilians",
14
-    "Rhinos", "Seagulls", "Sheep", "Siblings", "Snakes", "Spaghetti", "Spiders", "Squid", "Squirrels",
15
-    "Stars", "Students", "Teachers", "Tigers", "Tomatoes", "Trees", "Vampires", "Vegetables", "Viruses", "Vulcans",
16
-    "Warewolves", "Weasels", "Whales", "Witches", "Wizards", "Wolves", "Workers", "Worms", "Zebras"
4
+    "Aliens", "Animals", "Antelopes", "Ants", "Apes", "Apples", "Baboons",
5
+    "Bacteria", "Badgers", "Bananas", "Bats", "Bears", "Birds", "Bonobos",
6
+    "Brides", "Bugs", "Bulls", "Butterflies", "Cheetahs", "Cherries", "Chicken",
7
+    "Children", "Chimps", "Clowns", "Cows", "Creatures", "Dinosaurs", "Dogs",
8
+    "Dolphins", "Donkeys", "Dragons", "Ducks", "Dwarfs", "Eagles", "Elephants",
9
+    "Elves", "Fathers", "Fish", "Flowers", "Frogs", "Fruit", "Fungi",
10
+    "Galaxies", "Geese", "Goats", "Gorillas", "Hedgehogs", "Hippos", "Horses",
11
+    "Hunters", "Insects", "Kids", "Knights", "Lemons", "Lemurs", "Leopards",
12
+    "LifeForms", "Lions", "Lizards", "Mice", "Monkeys", "Monsters", "Mushrooms",
13
+    "Octopodes", "Oranges", "Orangutans", "Organisms", "Pants", "Parrots",
14
+    "Penguins", "People", "Pigeons", "Pigs", "Pineapples", "Plants", "Potatoes",
15
+    "Priests", "Rats", "Reptiles", "Reptilians", "Rhinos", "Seagulls", "Sheep",
16
+    "Siblings", "Snakes", "Spaghetti", "Spiders", "Squid", "Squirrels",
17
+    "Stars", "Students", "Teachers", "Tigers", "Tomatoes", "Trees", "Vampires",
18
+    "Vegetables", "Viruses", "Vulcans", "Warewolves", "Weasels", "Whales",
19
+    "Witches", "Wizards", "Wolves", "Workers", "Worms", "Zebras"
17 20
 ];
18 21
 //var places = [
19
-//"Pub", "University", "Airport", "Library", "Mall", "Theater", "Stadium", "Office", "Show", "Gallows", "Beach",
20
-// "Cemetery", "Hospital", "Reception", "Restaurant", "Bar", "Church", "House", "School", "Square", "Village",
21
-// "Cinema", "Movies", "Party", "Restroom", "End", "Jail", "PostOffice", "Station", "Circus", "Gates", "Entrance",
22
-// "Bridge"
22
+//    "Pub", "University", "Airport", "Library", "Mall", "Theater", "Stadium",
23
+//    "Office", "Show", "Gallows", "Beach", "Cemetery", "Hospital", "Reception",
24
+//    "Restaurant", "Bar", "Church", "House", "School", "Square", "Village",
25
+//    "Cinema", "Movies", "Party", "Restroom", "End", "Jail", "PostOffice",
26
+//    "Station", "Circus", "Gates", "Entrance", "Bridge"
23 27
 //];
24 28
 var verbs = [
25 29
     "Abandon", "Adapt", "Advertise", "Answer", "Anticipate", "Appreciate",
26
-    "Approach", "Argue", "Ask", "Bite", "Blossom", "Blush", "Breathe", "Breed", "Bribe", "Burn", "Calculate",
27
-    "Clean", "Code", "Communicate", "Compute", "Confess", "Confiscate", "Conjugate", "Conjure", "Consume",
28
-    "Contemplate", "Crawl", "Dance", "Delegate", "Devour", "Develop", "Differ", "Discuss",
29
-    "Dissolve", "Drink", "Eat", "Elaborate", "Emancipate", "Estimate", "Expire", "Extinguish",
30
-    "Extract", "Facilitate", "Fall", "Feed", "Finish", "Floss", "Fly", "Follow", "Fragment", "Freeze",
31
-    "Gather", "Glow", "Grow", "Hex", "Hide", "Hug", "Hurry", "Improve", "Intersect", "Investigate", "Jinx",
32
-    "Joke", "Jubilate", "Kiss", "Laugh", "Manage", "Meet", "Merge", "Move", "Object", "Observe", "Offer",
33
-    "Paint", "Participate", "Party", "Perform", "Plan", "Pursue", "Pierce", "Play", "Postpone", "Pray", "Proclaim",
34
-    "Question", "Read", "Reckon", "Rejoice", "Represent", "Resize", "Rhyme", "Scream", "Search", "Select", "Share", "Shoot",
35
-    "Shout", "Signal", "Sing", "Skate", "Sleep", "Smile", "Smoke", "Solve", "Spell", "Steer", "Stink",
36
-    "Substitute", "Swim", "Taste", "Teach", "Terminate", "Think", "Type", "Unite", "Vanish", "Worship"
30
+    "Approach", "Argue", "Ask", "Bite", "Blossom", "Blush", "Breathe", "Breed",
31
+    "Bribe", "Burn", "Calculate", "Clean", "Code", "Communicate", "Compute",
32
+    "Confess", "Confiscate", "Conjugate", "Conjure", "Consume", "Contemplate",
33
+    "Crawl", "Dance", "Delegate", "Devour", "Develop", "Differ", "Discuss",
34
+    "Dissolve", "Drink", "Eat", "Elaborate", "Emancipate", "Estimate", "Expire",
35
+    "Extinguish", "Extract", "Facilitate", "Fall", "Feed", "Finish", "Floss",
36
+    "Fly", "Follow", "Fragment", "Freeze", "Gather", "Glow", "Grow", "Hex",
37
+    "Hide", "Hug", "Hurry", "Improve", "Intersect", "Investigate", "Jinx",
38
+    "Joke", "Jubilate", "Kiss", "Laugh", "Manage", "Meet", "Merge", "Move",
39
+    "Object", "Observe", "Offer", "Paint", "Participate", "Party", "Perform",
40
+    "Plan", "Pursue", "Pierce", "Play", "Postpone", "Pray", "Proclaim",
41
+    "Question", "Read", "Reckon", "Rejoice", "Represent", "Resize", "Rhyme",
42
+    "Scream", "Search", "Select", "Share", "Shoot", "Shout", "Signal", "Sing",
43
+    "Skate", "Sleep", "Smile", "Smoke", "Solve", "Spell", "Steer", "Stink",
44
+    "Substitute", "Swim", "Taste", "Teach", "Terminate", "Think", "Type",
45
+    "Unite", "Vanish", "Worship"
37 46
 ];
38 47
 var adverbs = [
39
-    "Absently", "Accurately", "Accusingly", "Adorably", "AllTheTime", "Alone", "Always", "Amazingly", "Angrily",
40
-    "Anxiously", "Anywhere", "Appallingly", "Apparently", "Articulately", "Astonishingly", "Badly", "Barely",
41
-    "Beautifully", "Blindly", "Bravely", "Brightly", "Briskly", "Brutally", "Calmly", "Carefully", "Casually",
42
-    "Cautiously", "Cleverly", "Constantly", "Correctly", "Crazily", "Curiously", "Cynically", "Daily",
43
-    "Dangerously", "Deliberately", "Delicately", "Desperately", "Discreetly", "Eagerly", "Easily", "Euphoricly",
44
-    "Evenly", "Everywhere", "Exactly", "Expectantly", "Extensively", "Ferociously", "Fiercely", "Finely",
45
-    "Flatly", "Frequently", "Frighteningly", "Gently", "Gloriously", "Grimly", "Guiltily", "Happily",
46
-    "Hard", "Hastily", "Heroically", "High", "Highly", "Hourly", "Humbly", "Hysterically", "Immensely",
47
-    "Impartially", "Impolitely", "Indifferently", "Intensely", "Jealously", "Jovially", "Kindly", "Lazily",
48
-    "Lightly", "Loudly", "Lovingly", "Loyally", "Magnificently", "Malevolently", "Merrily", "Mightily", "Miserably",
49
-    "Mysteriously", "NOT", "Nervously", "Nicely", "Nowhere", "Objectively", "Obnoxiously", "Obsessively",
50
-    "Obviously", "Often", "Painfully", "Patiently", "Playfully", "Politely", "Poorly", "Precisely", "Promptly",
51
-    "Quickly", "Quietly", "Randomly", "Rapidly", "Rarely", "Recklessly", "Regularly", "Remorsefully", "Responsibly",
52
-    "Rudely", "Ruthlessly", "Sadly", "Scornfully", "Seamlessly", "Seldom", "Selfishly", "Seriously", "Shakily",
53
-    "Sharply", "Sideways", "Silently", "Sleepily", "Slightly", "Slowly", "Slyly", "Smoothly", "Softly", "Solemnly",
54
-    "Steadily", "Sternly", "Strangely", "Strongly", "Stunningly", "Surely", "Tenderly", "Thoughtfully",
55
-    "Tightly", "Uneasily", "Vanishingly", "Violently", "Warmly", "Weakly", "Wearily", "Weekly", "Weirdly", "Well",
48
+    "Absently", "Accurately", "Accusingly", "Adorably", "AllTheTime", "Alone",
49
+    "Always", "Amazingly", "Angrily", "Anxiously", "Anywhere", "Appallingly",
50
+    "Apparently", "Articulately", "Astonishingly", "Badly", "Barely",
51
+    "Beautifully", "Blindly", "Bravely", "Brightly", "Briskly", "Brutally",
52
+    "Calmly", "Carefully", "Casually", "Cautiously", "Cleverly", "Constantly",
53
+    "Correctly", "Crazily", "Curiously", "Cynically", "Daily", "Dangerously",
54
+    "Deliberately", "Delicately", "Desperately", "Discreetly", "Eagerly",
55
+    "Easily", "Euphoricly", "Evenly", "Everywhere", "Exactly", "Expectantly",
56
+    "Extensively", "Ferociously", "Fiercely", "Finely", "Flatly", "Frequently",
57
+    "Frighteningly", "Gently", "Gloriously", "Grimly", "Guiltily", "Happily",
58
+    "Hard", "Hastily", "Heroically", "High", "Highly", "Hourly", "Humbly",
59
+    "Hysterically", "Immensely", "Impartially", "Impolitely", "Indifferently",
60
+    "Intensely", "Jealously", "Jovially", "Kindly", "Lazily", "Lightly",
61
+    "Loudly", "Lovingly", "Loyally", "Magnificently", "Malevolently", "Merrily",
62
+    "Mightily", "Miserably", "Mysteriously", "NOT", "Nervously", "Nicely",
63
+    "Nowhere", "Objectively", "Obnoxiously", "Obsessively", "Obviously",
64
+    "Often", "Painfully", "Patiently", "Playfully", "Politely", "Poorly",
65
+    "Precisely", "Promptly", "Quickly", "Quietly", "Randomly", "Rapidly",
66
+    "Rarely", "Recklessly", "Regularly", "Remorsefully", "Responsibly",
67
+    "Rudely", "Ruthlessly", "Sadly", "Scornfully", "Seamlessly", "Seldom",
68
+    "Selfishly", "Seriously", "Shakily", "Sharply", "Sideways", "Silently",
69
+    "Sleepily", "Slightly", "Slowly", "Slyly", "Smoothly", "Softly", "Solemnly",
70
+    "Steadily", "Sternly", "Strangely", "Strongly", "Stunningly", "Surely",
71
+    "Tenderly", "Thoughtfully", "Tightly", "Uneasily", "Vanishingly",
72
+    "Violently", "Warmly", "Weakly", "Wearily", "Weekly", "Weirdly", "Well",
56 73
     "Well", "Wickedly", "Wildly", "Wisely", "Wonderfully", "Yearly"
57 74
 ];
58 75
 var adjectives = [
59
-    "Abominable", "Accurate", "Adorable", "All", "Alleged", "Ancient", "Angry", "Angry", "Anxious", "Appalling",
60
-    "Apparent", "Astonishing", "Attractive", "Awesome", "Baby", "Bad", "Beautiful", "Benign", "Big", "Bitter",
61
-    "Blind", "Blue", "Bold", "Brave", "Bright", "Brisk", "Calm", "Camouflaged", "Casual", "Cautious",
62
-    "Choppy", "Chosen", "Clever", "Cold", "Cool", "Crawly", "Crazy", "Creepy", "Cruel", "Curious", "Cynical",
63
-    "Dangerous", "Dark", "Delicate", "Desperate", "Difficult", "Discreet", "Disguised", "Dizzy",
64
-    "Dumb", "Eager", "Easy", "Edgy", "Electric", "Elegant", "Emancipated", "Enormous", "Euphoric", "Evil",
65
-    "Fast", "Ferocious", "Fierce", "Fine", "Flawed", "Flying", "Foolish", "Foxy",
66
-    "Freezing", "Funny", "Furious", "Gentle", "Glorious", "Golden", "Good", "Green", "Green", "Guilty",
67
-    "Hairy", "Happy", "Hard", "Hasty", "Hazy", "Heroic", "Hostile", "Hot", "Humble", "Humongous",
68
-    "Humorous", "Hysterical", "Idealistic", "Ignorant", "Immense", "Impartial", "Impolite", "Indifferent",
69
-    "Infuriated", "Insightful", "Intense", "Interesting", "Intimidated", "Intriguing", "Jealous", "Jolly", "Jovial",
70
-    "Jumpy", "Kind", "Laughing", "Lazy", "Liquid", "Lonely", "Longing", "Loud", "Loving", "Loyal", "Macabre", "Mad",
71
-    "Magical", "Magnificent", "Malevolent", "Medieval", "Memorable", "Mere", "Merry", "Mighty",
72
-    "Mischievous", "Miserable", "Modified", "Moody", "Most", "Mysterious", "Mystical", "Needy",
73
-    "Nervous", "Nice", "Objective", "Obnoxious", "Obsessive", "Obvious", "Opinionated", "Orange",
74
-    "Painful", "Passionate", "Perfect", "Pink", "Playful", "Poisonous", "Polite", "Poor", "Popular", "Powerful",
75
-    "Precise", "Preserved", "Pretty", "Purple", "Quick", "Quiet", "Random", "Rapid", "Rare", "Real",
76
-    "Reassuring", "Reckless", "Red", "Regular", "Remorseful", "Responsible", "Rich", "Rude", "Ruthless",
77
-    "Sad", "Scared", "Scary", "Scornful", "Screaming", "Selfish", "Serious", "Shady", "Shaky", "Sharp",
78
-    "Shiny", "Shy", "Simple", "Sleepy", "Slow", "Sly", "Small", "Smart", "Smelly", "Smiling", "Smooth",
79
-    "Smug", "Sober", "Soft", "Solemn", "Square", "Square", "Steady", "Strange", "Strong",
80
-    "Stunning", "Subjective", "Successful", "Surly", "Sweet", "Tactful", "Tense",
81
-    "Thoughtful", "Tight", "Tiny", "Tolerant", "Uneasy", "Unique", "Unseen", "Warm", "Weak",
82
-    "Weird", "WellCooked", "Wild", "Wise", "Witty", "Wonderful", "Worried", "Yellow", "Young",
83
-    "Zealous"
76
+    "Abominable", "Accurate", "Adorable", "All", "Alleged", "Ancient", "Angry",
77
+    "Anxious", "Appalling", "Apparent", "Astonishing", "Attractive", "Awesome",
78
+    "Baby", "Bad", "Beautiful", "Benign", "Big", "Bitter", "Blind", "Blue",
79
+    "Bold", "Brave", "Bright", "Brisk", "Calm", "Camouflaged", "Casual",
80
+    "Cautious", "Choppy", "Chosen", "Clever", "Cold", "Cool", "Crawly",
81
+    "Crazy", "Creepy", "Cruel", "Curious", "Cynical", "Dangerous", "Dark",
82
+    "Delicate", "Desperate", "Difficult", "Discreet", "Disguised", "Dizzy",
83
+    "Dumb", "Eager", "Easy", "Edgy", "Electric", "Elegant", "Emancipated",
84
+    "Enormous", "Euphoric", "Evil", "Fast", "Ferocious", "Fierce", "Fine",
85
+    "Flawed", "Flying", "Foolish", "Foxy", "Freezing", "Funny", "Furious",
86
+    "Gentle", "Glorious", "Golden", "Good", "Green", "Green", "Guilty",
87
+    "Hairy", "Happy", "Hard", "Hasty", "Hazy", "Heroic", "Hostile", "Hot",
88
+    "Humble", "Humongous", "Humorous", "Hysterical", "Idealistic", "Ignorant",
89
+    "Immense", "Impartial", "Impolite", "Indifferent", "Infuriated",
90
+    "Insightful", "Intense", "Interesting", "Intimidated", "Intriguing",
91
+    "Jealous", "Jolly", "Jovial", "Jumpy", "Kind", "Laughing", "Lazy", "Liquid",
92
+    "Lonely", "Longing", "Loud", "Loving", "Loyal", "Macabre", "Mad", "Magical",
93
+    "Magnificent", "Malevolent", "Medieval", "Memorable", "Mere", "Merry",
94
+    "Mighty", "Mischievous", "Miserable", "Modified", "Moody", "Most",
95
+    "Mysterious", "Mystical", "Needy", "Nervous", "Nice", "Objective",
96
+    "Obnoxious", "Obsessive", "Obvious", "Opinionated", "Orange", "Painful",
97
+    "Passionate", "Perfect", "Pink", "Playful", "Poisonous", "Polite", "Poor",
98
+    "Popular", "Powerful", "Precise", "Preserved", "Pretty", "Purple", "Quick",
99
+    "Quiet", "Random", "Rapid", "Rare", "Real", "Reassuring", "Reckless", "Red",
100
+    "Regular", "Remorseful", "Responsible", "Rich", "Rude", "Ruthless", "Sad",
101
+    "Scared", "Scary", "Scornful", "Screaming", "Selfish", "Serious", "Shady",
102
+    "Shaky", "Sharp", "Shiny", "Shy", "Simple", "Sleepy", "Slow", "Sly",
103
+    "Small", "Smart", "Smelly", "Smiling", "Smooth", "Smug", "Sober", "Soft",
104
+    "Solemn", "Square", "Square", "Steady", "Strange", "Strong", "Stunning",
105
+    "Subjective", "Successful", "Surly", "Sweet", "Tactful", "Tense",
106
+    "Thoughtful", "Tight", "Tiny", "Tolerant", "Uneasy", "Unique", "Unseen",
107
+    "Warm", "Weak", "Weird", "WellCooked", "Wild", "Wise", "Witty", "Wonderful",
108
+    "Worried", "Yellow", "Young", "Zealous"
84 109
     ];
85 110
 //var pronouns = [
86 111
 //];

Laddar…
Avbryt
Spara