-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjson.js
104 lines (101 loc) · 1.65 KB
/
json.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
99
100
101
102
103
104
//Andrew Phillips
//SDI 1111 - Project 3
var json = {
"categories": {
"Adventure": {
"name": "Adventure",
"chanceToFind": "65%"
},
"Arcade": {
"name": "Arcade",
"chanceToFind": "3%"
},
"Board": {
"name": "Board",
"chanceToFind": "1%"
},
"Action": {
"name": "Action",
"chanceToFind": "78%"
},
"Card": {
"name": "Card",
"chanceToFind": "1%"
},
"Casino": {
"name": "Casino",
"chanceToFind": "1%"
},
"Dice": {
"name": "Dice",
"chanceToFind": "1%"
},
"Educational": {
"name": "Educational",
"chanceToFind": "1%"
},
"Family": {
"name": "Family",
"chanceToFind": "2%"
},
"Kids": {
"name": "Kids",
"chanceToFind": "15%"
},
"Music": {
"name": "Music",
"chanceToFind": "1%"
},
"Puzzle": {
"name": "Puzzle",
"chanceToFind": "11%"
},
"Racing": {
"name": "Racing",
"chanceToFind": "3%"
},
"Role Playing": {
"name": "Role Playing",
"chanceToFind": "55%"
},
"Simulation": {
"name": "Simulation",
"chanceToFind": "45%"
},
"Sports": {
"name": "Sports",
"chanceToFind": "8%"
},
"Strategy": {
"name": "Strategy",
"chanceToFind": "17%"
},
"Trivia": {
"name": "Trivia",
"chanceToFind": "1%"
},
"Word": {
"name": "Word",
"chanceToFind": "1%"
},
}
};
var json2 = {
"big3": [
{
"name": "Adventure",
"chance": "65",
"thought": false
},
{
"name": "Role Playing",
"chance": "55",
"thought": false
},
{
"name": "Action",
"chance": "78",
"thought": true
},
]
};