-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
65 lines (58 loc) · 2.28 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="author" content="Nicholas Dean">
<meta name="description" content="Guess the daily word and try to get ot the top of the leaderboard.">
<meta property="og:url" content="https://0x2a.re/projects/nickle">
<meta property="og:type" content="website">
<meta property="og:title" content="Nickle">
<meta property="og:description" content="Guess the daily word and try to get ot the top of the leaderboard.">
<script type="module" src="main.js"></script>
<link rel="stylesheet" href="style.css" />
<title>0x2a.re | Nickle</title>
</head>
<body>
<div id="container">
<div id="gameContainer">
<div id="guesses" class="guesses"></div>
<div id="message"></div>
<div id="keyboard" class="keyboard"></div>
</div>
<div id="scoreboardContainer" class="shrink"></div>
</div>
</body>
<template id="endGameTemplate">
<div id="endGame">
<h2 class="endGameMessage"></h2>
<form class="highScoreForm">
<input type="text" class="nameInput" maxLength="12" placeholder="Name (5 chars min)"/>
<button type="submit" class="submitScoreButton">Submit</button>
</form>
<button class="shareButton">Share (spoiler-free)</button>
<button id="showHighScoresButton">Highscores</button>
</div>
</template>
<template id="scoreboardTemplate">
<button id="closeHighScoresButton">Back to game</button>
<h1 class="title">Loading high scores...</h1>
<table id="scoresTable" class="shrink">
<thead>
<tr>
<th>Name</th>
<th>Guesses</th>
<th>Time</th>
</tr>
</thead>
<tbody></tbody>
</table>
</template>
<template id="scoreEntryTemplate">
<tr>
<td class="name"></td>
<td class="numGuesses"></td>
<td class="time"></td>
</tr>
</template>
</html>