Files
  • index.html
  • assets
  • dependencies
  • loader.svg
  • play.html
  • script.js
  • style.css
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
<!-- This is a static file -->
<!-- served from your routes in server.js -->

<!DOCTYPE html>
<html>
  <head>
    <title>4ty2 Hunt</title>
    <link id="favicon" rel="icon" href="/assets/favicon.png" type="image/x-icon">
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
		<link rel="stylesheet" href="/dependencies/tingle.css">
    <link rel="stylesheet" href="https://unpkg.com/[email protected]">
    <link rel="stylesheet" href="/style.css">



  </head>
  <body  style="background: white">
		<style>
			body{
	margin:3em;
  margin-top:4em;
	margin-bottom:4em;
}
.card{
	max-width:500px;
	margin:auto;
}
</style>
		<main>
		<div style="background: #d2d6dd" class="card is-text-center" >
			<header>
				<h1><a style="color:black" href="/">4ty2 Hunt 🕵️‍♂️</a></h1>
			</header>
			<br>
			<p>Find things all around you, and show them to your webcam 📷<br><br>
			The rules are simple 👇
			<br>
			<div style="text-align:left; border-radius:4px; padding:1em; " class="bg-dark">
			<ul>
				<li>You have 30 seconds to find each object.</li>
				<br>
				<li>You have 5 lives when you start - if you get miss finding more than 5 objects, you lose.</li>
				<br>
				<li>When you're playing this on a phone, you need to manually hit <code class="bg-primary">Check 🔍</code> for your entry to be checked.</li>
			</ul>
			</div>
			<br>
			<br>
			<button onclick="window.location = '/play.html'" style="font-size:1.3em" class="button primary icon">Start Playing&nbsp;<img src="https://icongr.am/entypo/game-controller.svg?size=30&amp;color=ffffff" alt="icon" ></button>
			</p>
			<footer>
				<br>
				<a class="text-dark" href="https://sam.jajoo.fun">by @jajoosam</a><br>
				<a href="/__repl"><img src="https://icongr.am/entypo/code.svg?size=20px" style="display:inline"></a>&nbsp;&nbsp;<a href="https://twitter.com/jajoosam"><img src="https://icongr.am/entypo/twitter.svg?size=20px" style="display:inline"></a>
			</footer>
		</div>
    </main>

    
    <script src="/dependencies/tingle.js"></script>
    <script src="/client.js"></script>
		<script async defer src="https://cdn.simpleanalytics.io/hello.js"></script> 
		<noscript><img src="https://api.simpleanalytics.io/hello.gif" alt=""></noscript>
  </body>
</html>
result
console