-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
73 lines (73 loc) · 2.79 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Tetris</title>
<link rel="stylesheet" media="screen" href="https://fontlibrary.org/face/fyodor" type="text/css"/>
<link rel="stylesheet" type="text/css" href="css/tetris.css">
<link rel="icon" type="image/png" sizes="32x32" href="images/favicon-32x32.png">
<link rel="stylesheet" href="css/font-awesome-4.7.0/css/font-awesome.min.css">
<script src="https://code.createjs.com/easeljs-0.8.2.min.js"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-100749598-3', 'auto');
ga('send', 'pageview');
</script>
<script src="./bundle.js"></script>
</head>
<body>
<div class="game">
<h1>Tetris</h1>
<div class="game-container">
<div class="game-board-container">
<div id="start-screen" class="start-screen">
<h2>Press Enter to Begin</h2>
</div>
<div id="game-over-screen" class="game-over-screen hide">
<h2>Press Enter to Play Again</h2>
<h2 id="final-score"></h2>
</div>
<div id="pause-screen" class="pause-screen hide">
<h2>Paused</h2>
</div>
<canvas id="canvas" class="board" width="400px" height="450px"></canvas>
</div>
<div class="side-bar-container">
<div class="next-piece-container">
<canvas id="next-piece-canvas" width="100px" height="50px"></canvas>
</div>
<div class="score-container" id="score-container"></div>
<div class="control-container">
<h2>Controls</h2>
<div>
<strong>MOVE:</strong>
<i class="fa fa-caret-left" aria-hidden="true"></i>
<i class="fa fa-caret-down" aria-hidden="true"></i>
<i class="fa fa-caret-right" aria-hidden="true"></i>
</div>
<div>
<strong>ROTATE:</strong>
<i class="fa fa-caret-up" aria-hidden="true"></i>
</div>
<div>
<strong>PAUSE:</strong>
<i>'p'</i>
</div>
<div>
<strong>QUIT:</strong>
<i>'q'</i>
</div>
</div>
</div>
</div>
<footer>
<a href="http://www.madelineleclair.us">Personal Website</a>
<a href="https://github.com/madeline1991">Git Hub</a>
<a href="https://www.linkedin.com/in/madelineleclair">LinkedIn</a>
</footer>
</div>
</body>
</html>