-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
57 lines (52 loc) · 2.67 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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Posey</title>
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
<link rel="stylesheet" href="./assets/css/style.css">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<script src="https://unpkg.com/ml5@0.1.1/dist/ml5.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.7.2/p5.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.7.2/addons/p5.dom.min.js"></script>
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.7.2/addons/p5.sound.min.js"></script> -->
</head>
<body>
<h1 id="mainTitle" class="text-center">Posey</h1>
<main class="container-fluid">
<section id="gameplay">
<div id="videobox">
<video width="500px" height="375px" autoplay loop>
<source src="./assets/demo.mp4" type="video/mp4">
</video>
</div>
<div id="imagebox"><img src="./assets/images/man-screaming-pose.png" class="img-fluid"></div>
</section>
<section>
<h2 id="mainTitle" class="text-center">WELCOME TO POSEY</h2>
<h3 id="mainTitle" class="text-center">Match the pose - boost your score!</h3>
</section>
<div class="text-center">
<button class="btn-success btn-lg" onclick="location.href='game.html'">PLAY!</button>
</div>
</main>
<script src="https://www.gstatic.com/firebasejs/5.5.2/firebase.js"></script>
<script>
// Initialize Firebase
var config = {
apiKey: "AIzaSyBYAXYgxIOmpEQ-ZTM27NcppTbt1wrkvQY",
authDomain: "posey-1a2e6.firebaseapp.com",
databaseURL: "https://posey-1a2e6.firebaseio.com",
projectId: "posey-1a2e6",
storageBucket: "posey-1a2e6.appspot.com",
messagingSenderId: "396409349439"
};
firebase.initializeApp(config);
</script>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
</body>
</html>