-
Notifications
You must be signed in to change notification settings - Fork 0
/
bigiftrue.js
40 lines (37 loc) · 1.44 KB
/
bigiftrue.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
$(document).ready(function(){
var sizeList = SizeList();
var truthList = TruthList();
$("#generate").click(function(){
GeneratePairing(sizeList,truthList)
});
});
function SizeList(){
var sizes = [
"large","sizable","substantial","great","huge","immense",
"enormous","colossal","massive","mammoth","vast","tremendous",
"gigantic","giant","monumental","mighty","gargantuan",
"elephantine","titantic","mountainous","Brobdingnagian",
"towering","tall","high","lofty","oversized","capacious","voluminous",
"spacious","jumbo","whopping","humongous","monstrous",
"astronomical","ginormous","commodious","expansive"
]
return sizes;
}
function TruthList(){
var truths = [
"correct","accurate","right","verifiable","unerring","factual",
"unelaborated","unvarnished","genuine","authentic","real",
"bona fide", "proper", "legit","kosher","legitimate",
"rightful","authorized","de jure","unfeigned","legal",
"indubitable","sincere","trustworthy","unquestionable","veracious",
"veritable","undoubted","undeniable","unfeigned","concordant with facts"
]
return truths;
}
function GeneratePairing(sizeList,truthList)
{
var sizeItem = sizeList[Math.floor(Math.random()*sizeList.length)];
var truthItem = truthList[Math.floor(Math.random()*truthList.length)];
$('#size').text(sizeItem);
$('#truthfulness').text(truthItem);
}