-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
148 lines (121 loc) · 6.44 KB
/
index.html
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<link rel="shortcut icon" href="https://web-presence.biz/img/favicon.ico" />
<meta name="keywords"
content="Free, WORD GAME,Guess the word, play, cards, wordgame, Trivia game,General knowledge trivia, Puzzle game,Browser game, Online game, Single-player word game, Browser-based trivia, Vocabulary game" />
<meta name="description" content="Free word game. Play word game for free. No login. No app to install." />
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.8.2/css/all.min.css" rel="stylesheet" />
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.8.2/css/brands.css" rel="stylesheet" />
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.8.2/css/solid.css" rel="stylesheet" />
<!-- Bootstrap CSS-->
<link href="https://bootswatch.com/5/spacelab/bootstrap.css" rel="stylesheet" id="themedStyle">
<link rel="stylesheet" href="https://aaronrs2002.github.io/black-jack/css/animate.min.css" />
<link href="https://aaronrs2002.github.io/black-jack/css/shared.css" rel="stylesheet" />
<link href="css/style.css" rel="stylesheet" />
<title>Word Game</title>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-JJWFFXF8G0"></script>
<script>
const urlStr = window.location.href;
if (urlStr.indexOf("file:///Users/") !== -1 || urlStr.indexOf("exclude") !== -1) {
console.log("Not running GA");
} else {
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-JJWFFXF8G0');
}
</script>
</head>
<body>
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="alert alert-info" role="alert">
<div class="row">
<div class="col-6">
<h3>Balance: $<span id="playerMoney"></span> </h3>
</div>
<div class="col-6">
<h3 alt="Guess the word">Guess the word</h3>
<!-- <h3 id="requestedList">Guess the word</h3>-->
</div>
</div>
</div>
<div class="card" alt="Trivia game">
<div class="card-body">
<ul id="listTarget" class="list-group list-group-flush list-unstyled">
<li>
<div class="d-flex justify-content-center">
<div class="loader"></div>
</div>
</li>
</ul>
</div>
</div>
<div class="alert alert-info my-2" role="alert" id="requestedList">
<h4>Guessing a wrong letter will deduct from your possible end score.</h4>
</div>
<div class="alert hide my-2" id="winLoseStatus" role="alert">
</div>
</div>
</div>
<div class="btn-group block" role="group" id="dictionaryOptions">
<button type="button" class="btn btn-primary active" data-word="2"
onClick="javascript:chooseDictionary(2)">Easier</button>
<button type="button" class="btn btn-primary" data-word="1"
onClick="javascript:chooseDictionary(1)">Harder</button>
<button type="button" class="btn btn-primary" data-word="3" onClick="javascript:chooseDictionary(3)">Build &
share trivia</button>
</div>
<div class="row">
<div class="col-md-12 py-2">
<div class="d-grid gap-2">
<button class="btn btn-info" onClick="javascript:toggle('rules')" type="button"
data-toggle="default">View Rules</button>
<button class="btn btn-info hide" onClick="javascript:toggle('default')" type="button"
data-toggle="rules">Hide Rules</button>
</div>
<div class="card hide" data-toggle="rules">
<div class="card-body">
<h3 class="card-title">Word game rules:</h3>
<p>The "Easier" and "Harder" versions of this game display definitions from dictionaries. Try to
guest the word, or discover the word one letter at a time. For each letter chosen by you
that
is not included in the word there will be a 10% deduction from your score, which is shown in
the top right during the game.
</p>
<p>Win 200 if you guess the word on the first try.</p>
<h3>Build your own trivia</h3>
<p>Select "Build your own words and hints" to view the trivia builder panel. Add a words and
definitions with the form. As you add these your triva will appear in the game.</p>
<p>Download and share your favorite triva that you created by using the "Download" and "upload
file" options.</p>
</div>
</div>
</div>
</div>
</div>
<div class="hide alert fadeInUp" role="alert" id="globalAlert"></div>
<footer class="footer mt-auto py-3 animated fadeInUp">
<div class="container">
<div class="row">
<div class="col-md-4">
<div class="btn-group block my-2" role="group" id="gameLinks" alt="Online games"></div>
</div>
<div class="col-md-2 my-2"> <select class="form-control" onChange="changeTheme()" id="themes"></select>
</div>
<div class="col-md-4" id="socialList">
</div>
<div class="col-md-2 my-3" id="year"></div>
</div>
</div>
</footer>
</body>
<script src="https://aaronrs2002.github.io/black-jack/js/footer.js"></script>
<script id="wordsVar" src="data/dictionary2.js"></script>
<script src="js/functionality.js"></script>
</html>