forked from gjeuken/telewave
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
129 lines (111 loc) Β· 4.47 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Telewave</title>
<meta name="description" content="Telewave">
<meta name="author" content="Gus">
<link rel="stylesheet" href="styles/styles.css?v=1.0">
<link rel="shortcut icon" type="image/png" href="icons/telewave2.png">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-162367629-2"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-162367629-2');
</script>
</head>
<body>
<div>
<h1>Telewave</h1>
<div id='header'>
<div class="seed-container">
<span class="label">Seed</span>
<input type="image" onclick="update_seed()" src="img/refresh.png" alt="Update seed" width=24px height=24px>
<input type="text" id="seed" placeholder="seed" size="8" autofocus>
<input type="image" onclick="copySeedUrl()" src="img/clipboard-copy-512.png" alt="Copy link with seed" width=24px height=24px>
</div>
<button id="new" onclick="new_clue()">New clue</button>
<button id="commit" onclick="button_guess()">π― Guess</button>
<button id="reveal" onclick="button_peek()">π Peek</button>
<button id="reset" onclick="button_clear()">π§Ή Clear</button>
<div class="percentages-container">
<span id="percentagesText" class="label">Percentage</span>
<input type="checkbox" id="percentages" checked onclick="update_percentages()">
</div>
<a href="instructions/telewave"target="_blank">Instructions</a>
<a href="lang/langs"><img src="lang/icons/translation.png" alt="Other languages" width=36px height=36px></a>
</div>
</div>
<script src="scripts/jquery-3.4.1.min.js"></script>
<script src="scripts/seedrandom.js"></script>
<script src="scripts/data.js"></script>
<canvas id="wave" width="1000" height="150" style="border:5px solid #d3d3d3;">
</canvas>
<div class="slidecontainer">
<input type="range" min="0" max="1000" value="500" class="slider" id="guesser" oninput="guessdisp.value = Math.round(guesser.value/10)">
<output id="guessdisp">50</output>
</div>
<div id="board"></div>
<div id="score"></div>
<div id="scoreboard">
<div class="divTable scoreboard">
<div class="divTableBody">
<div class="divTableRow">
<div class="divTableCell">Team 1
<div>
<button type="button" onclick="this.parentNode.querySelector('[type=number]').stepDown();">
-
</button>
<input type="number" name="number" min="0" max="100" value="0">
<button type="button" onclick="this.parentNode.querySelector('[type=number]').stepUp();">
+
</button>
</div>
</div>
<div class="divTableCell">Team 2
<div>
<button type="button" onclick="this.parentNode.querySelector('[type=number]').stepDown();">
-
</button>
<input type="number" name="number" min="0" max="100" value="0">
<button type="button" onclick="this.parentNode.querySelector('[type=number]').stepUp();">
+
</button>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="games">
<!-- <div style="margin-top:20px" id="interference">
<a href="index.html" class="button" style="font-weight:bold">π Telewave π</a>
</div> -->
<div style="margin-top:20px" class="inprogress">
<a href="interference.html" class="button" style="font-weight:bold">π§ Telewave Interference π§ </a>
</div>
<div style="margin-top:20px" >
<a href="sounds_fishy.html" class="button" style="font-weight:bold">π Sounds Fishy π‘</a>
</div>
<div style="margin-top:20px" >
<a href="sheeple.html" class="button" style="font-weight:bold">π Sheeple π</a>
</div>
<div style="margin-top:20px" >
<a href="chameleon.html" class="button" style="font-weight:bold">π¦ Chameleon π¦</a>
</div>
<div style="margin-top:20px" >
<a href="cute_countdown.html" class="button" style="font-weight:bold">π₯ Cute Countdown π₯</a>
</div>
<div style="margin-top:20px" >
<a href="sketchy_creatures.html" class="button" style="font-weight:bold">βοΈ Sketchy Creatures πΎ</a>
</div>
<div style="margin-top:20px" >
<a href="spurt.html" class="button" style="font-weight:bold">π Spurt π</a>
</div>
</div>
<script src="scripts/board.js"></script>
<script src="scripts/draw.js"></script>
</body>
</html>