-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
120 lines (105 loc) · 4.37 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
<!DOCTYPE HTML>
<html lang="en-US" >
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes" />
<title>Tetris</title>
<link rel="stylesheet" href="style/main.css"/>
<link rel="stylesheet" href="style/mobile.css"
media="screen and (max-device-width: 768px) and (orientation: portrait),
screen and (max-device-width: 1024px) and (orientation:landscape)"/>
<!--icons for apple shortcuts screen-->
<!--<link rel="apple-touch-icon" href="icon.png"/>-->
<link rel="apple-touch-icon-precomposed" href="images/ios-icon.png"/>
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="images/ios-icon-ipad.png"/>
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="images/ios-icon-iphone4.png"/>
<!--images for apple startup images-->
<link media="screen and (min-device-width: 768px) and (orientation:landscape)" rel="apple-touch-startup-image"
href="images/ios-startup-748x1024.png"/>
<link media="screen and (min-device-width: 768px) and (orientation:portrait)" rel="apple-touch-startup-image"
href="images/ios-startup-768x1004.png"/>
<link media="screen and (max-device-width: 320px)" rel="apple-touch-startup-image"
href="images/ios-startup-320x460.png"/>
<meta name="apple-mobile-web-app-status-bar-style" content="black"/>
<script src="scripts/AMD.js" data-src="game" data-root="scripts"></script>
</head>
<body>
<div id="game">
<!--SPLASH SCREEN-->
<div class="screen" id="splash-screen">
<h1 class="logo">
<span>T</span>
<span>e</span>
<span>t</span>
<span>r</span>
<span>i</span>
<span>s</span>
</h1>
<span class="continue">Click to continue</span>
<div class="progress">
<div class="indicator"></div>
</div>
</div>
<!--MENU-->
<div class="screen" id="main-menu">
<h1 class="logo">
<span>T</span>
<span>e</span>
<span>t</span>
<span>r</span>
<span>i</span>
<span>s</span>
</h1>
<ul class="menu">
<li><button name="game-screen">Play</button></li>
<li><button name="high-scores">High score</button></li>
<li><button name="about">About</button></li>
<li><button name="exit-screen">Exit</button></li>
</ul>
</div>
<div class="screen" id="game-screen">
<div class="announcement"></div>
<div class="game-board jewel-size">
</div>
<div class="game-info">
<label class="level" for="">Level: <br/><span></span></label>
<label class="nextLevel" for="">next level: <br/><span></span></label>
<label class="score" for="">Score: <br/><span></span></label>
</div>
<footer>
<button class="exit">Exit</button>
<button class="pause">pause</button>
<button class="reset">reset</button>
</footer>
<div class="pause-overlay">
<div class="pause-text">pause</div>
</div>
</div>
<div class="screen" id="high-scores">
<h2 class="logo">high score</h2>
<ol class="score-list"></ol>
<footer>
<button name="back">Back</button>
</footer>
</div>
<div class="screen" id="about">
<h3>
<a href="https://github.com/perymimon?tab=repositories">pery mimon</a>
<address>isreal</address>
</h3>
from the book<span class="book"> HTML5 GAMES</span>
</div>
<div class="screen" id="install-screen">
<h1 class="logo">Jewel<br>Warrior</h1>
<span>
Click the<img icon="" src="images/install-icon.png" alt="install"/>
button to install the game to your home screen
</span>
</div>
</div>
<footer style="position: fixed;bottom: 0">
<a href="http://colinfahey.com/tetris/tetris.html">tetris history and spec</a>
</footer>
</body>
</html>