-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathquestions.js
99 lines (84 loc) · 2.32 KB
/
questions.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
// Configuration file, change the contents to your needs. The contents of this
// file are in the public domain.
// The number of rounds can be changed:
// * add/remove questions in questions_rounds
// * add/remove rows in answers_rounds
// * add/remove entries in multiplicator
// The number of answers per question can be changed:
// * add/remove entries in the correct row of answers_rounds
// The number of questions in the finals can be changed:
// * add/remove rows in questions_finals
// * add/remove rows in answers_finals
// The number of valid answers in the finals can be changed:
// * add/remove entries in the correct row of answers_finals
// questions for rounds
var questions_rounds = [
'Name something that one can have for breakfast',
'Name an animal species that is kept as a pet',
'Name something that sticks to a wall'
];
// answers to the questions for rounds
// format: dimension 1 = round, dimension 2 = question, dimension 3 = [answer, points]
var answers_rounds = [
[
['Cereals', 49],
['Coffee', 22],
['Bread', 15],
['Tea', 7],
['Hot chocolate', 4],
['Fresh fruits', 3]
],[
['Dog', 50],
['Cat', 36],
['Gold Fish', 7],
['Parrot', 4],
['Guinea pig', 3]
],[
['Poster', 34],
['Sticker', 29],
['Bubble gum', 19],
['Hot glue', 10]
]
];
// multiplicator for the points gained in a round
// format: indexed by round, value is multiplicator
var multiplicator = [1, 1, 2, 3];
// questions for finals
var questions_finals = [
'Name a place where it\'s hot',
'Name a well known sight in New York',
'Name something that can be found in a pond',
'Name something that can be shattered'
];
// answers to the questions for the finals
// format: dimension 1 = question, dimension 2 = answer, dimension 3 = [answer, points]
// must have five questions
var answers_finals = [
[
['Sahara', 35],
['Hawaii', 26],
['Bahamas', 10],
['Oven', 10],
['Sauna', 9]
],[
['Statue of Liberty', 30],
['Empire State Building', 31],
['Central Park', 26],
['Brooklyn Bridge', 9],
['Chinatown', 3]
],[
['Water Lily', 37],
['Carp', 24],
['Water pump', 19],
['Fountain', 12],
['Stones', 8],
],[
['Vase', 29],
['Glass', 28],
['Economy', 16],
['Building', 15],
['Myth', 12],
]
];
// timer duration for first and second player in finals, given in seconds
var timers = [20, 25];