-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
160 lines (147 loc) · 10.2 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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
<!doctype html>
<html lang="en">
<head>
<link href="css/awsome/css/font-awesome.min.css" rel=stylesheet>
<link href="css/style.min.css" rel=stylesheet type="text/css">
<script src="js/sweetalert.min.js"></script>
<link rel="stylesheet" href="css/themes/google/google.css">
<link rel="stylesheet" type="text/css" href="css/sweetalert.css">
<script src="js/shortcut.js"></script>
<script src="js/script.min.js" type="text/javascript"></script>
<title>Lights Out Game</title>
<link rel="apple-touch-startup-image" href="images/splash/scan_2048x2732.png" media="(min-width: 1024px) and (max-width: 1024px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait)">
<link rel="apple-touch-startup-image" href="images/splash/scan_1668x2224.png" media="(min-width: 834px) and (max-width: 834px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait)">
<link rel="apple-touch-startup-image" href="images/splash/scan_1536x2048.png" media="(min-width: 768px) and (max-width: 1024px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait)">
<link rel="apple-touch-startup-image" href="images/splash/scan_1125x2436.png" media="(width: 375px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)">
<link rel="apple-touch-startup-image" href="images/splash/scan_1242x2208.png" media="(width: 414px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)">
<link rel="apple-touch-startup-image" href="images/splash/scan_750x1334.png" media="(width: 375px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)">
<link rel="apple-touch-startup-image" href="images/splash/scan_640x1136.png" media="(width: 320px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)">
<meta name="theme-color" content="#cce587">
<meta name="description" content="Lights Out, Linear Algebra Game ;-), The goal of the puzzle is to switch all the lights off, preferably in as few button presses as possible">
<meta property="og:title" content="Lights Out">
<meta property="og:site_name" content="http://www.lightsout.ir">
<meta property="og:description" content="Lights Out, Linear Algebra Game ;-), The goal of the puzzle is to switch all the lights off, preferably in as few button presses as possible">
<meta property="og:image" content="http://www.lightsout.ir/images/og-icon2.png">
<meta name="twitter:image:src" content="http://www.lightsout.ir/images/og-icon2.png">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Lights Out">
<meta name="twitter:description" content="Lights Out, Linear Algebra Game ;-), The goal of the puzzle is to switch all the lights off, preferably in as few button presses as possible">
<meta name="google-site-verification" content="tg9E6VTrbOMvDH5YYm8Ij9iLx6UOIFipGqC9FiO-dng">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="white">
<meta name="apple-touch-fullscreen" content="yes">
<meta name="apple-mobile-web-app-title" content="Lights Out">
<link rel="manifest" href="manifest.json">
<link href="images/favicon/4.png" rel="shortcut icon">
<link href="images/favicon/1.png" rel="-touch-icon">
<link href="images/favicon/2.png" rel="apple-touch-icon" sizes="72x72">
<link href="images/favicon/3.png" rel="apple-touch-icon" sizes="144x144">
<link href="images/favicon/7.png" rel="apple-touch-icon" sizes="152x152">
<link href="images/favicon/8.png" rel="apple-touch-icon" sizes="180x180">
<link href="images/favicon/9.png" rel="apple-touch-icon" sizes="167x167">
</head>
<body itemscope itemtype="http://schema.org/WebPage">
<div id="particles-js" itemprop="particleSection"> </div>
<div class="siteWrapper" id="siteWrapper" itemprop="mainContentOfPage">
<div class="shortcut">
<h2>Shortcuts</h2>
<p>Hint (h)</p>
<p>Reset (r)</p>
<p>Restart (Ctrl)</p>
<p>Quick Help (q)</p>
</div>
<div class="music_control">
<p id="sound_on_off" onclick="audio_control();"><i class="fa fa-volume-off fa-3x" aria-hidden="true"></i></p>
</div>
<h1 id="game_name" class="get_name" itemprop="siteName">Loading ...</h1>
<div class="header" id="header" itemprop="siteMenu" >
<button onclick="redirect(5);" class="reset" id="help" title="Help Page">Help</button>
<button onclick="redirect(6);" class="reset" id="support" title="Support Game">Support</button>
<button onclick="redirect(9);" class="reset" id="score_button" title="Score">Score</button>
</div>
<div class="timer" id="timer" itemprop="timer"><i class="fa fa-clock-o" aria-hidden="true"></i> <span id="time">TI:ME</span> <i class="fa fa-clock-o"
aria-hidden="true"></i></div>
<table class="lightsout" id="lightsout" itemprop="gameTable">
<tr>
<td id="1" onclick="reply_click(this.id)"><i class="fa fa-spinner fa-spin fa-3x fa-fw"></i></td>
<td id="2" onclick="reply_click(this.id)"><i class="fa fa-spinner fa-spin fa-3x fa-fw"></i></td>
<td id="3" onclick="reply_click(this.id)"><i class="fa fa-spinner fa-spin fa-3x fa-fw"></i></td>
<td id="4" onclick="reply_click(this.id)"><i class="fa fa-spinner fa-spin fa-3x fa-fw"></i></td>
<td id="5" onclick="reply_click(this.id)"><i class="fa fa-spinner fa-spin fa-3x fa-fw"></i></td>
</tr>
<tr>
<td id="6" onclick="reply_click(this.id)"><i class="fa fa-spinner fa-spin fa-3x fa-fw"></i></td>
<td id="7" onclick="reply_click(this.id)"><i class="fa fa-spinner fa-spin fa-3x fa-fw"></i></td>
<td id="8" onclick="reply_click(this.id)"><i class="fa fa-spinner fa-spin fa-3x fa-fw"></i></td>
<td id="9" onclick="reply_click(this.id)"><i class="fa fa-spinner fa-spin fa-3x fa-fw"></i></td>
<td id="10" onclick="reply_click(this.id)"><i class="fa fa-spinner fa-spin fa-3x fa-fw"></i></td>
</tr>
<tr>
<td id="11" onclick="reply_click(this.id)"><i class="fa fa-spinner fa-spin fa-3x fa-fw"></i></td>
<td id="12" onclick="reply_click(this.id)"><i class="fa fa-spinner fa-spin fa-3x fa-fw"></i></td>
<td id="13" onclick="reply_click(this.id)"><i class="fa fa-spinner fa-spin fa-3x fa-fw"></i></td>
<td id="14" onclick="reply_click(this.id)"><i class="fa fa-spinner fa-spin fa-3x fa-fw"></i></td>
<td id="15" onclick="reply_click(this.id)"><i class="fa fa-spinner fa-spin fa-3x fa-fw"></i></td>
</tr>
<tr>
<td id="16" onclick="reply_click(this.id)"><i class="fa fa-spinner fa-spin fa-3x fa-fw"></i></td>
<td id="17" onclick="reply_click(this.id)"><i class="fa fa-spinner fa-spin fa-3x fa-fw"></i></td>
<td id="18" onclick="reply_click(this.id)"><i class="fa fa-spinner fa-spin fa-3x fa-fw"></i></td>
<td id="19" onclick="reply_click(this.id)"><i class="fa fa-spinner fa-spin fa-3x fa-fw"></i></td>
<td id="20" onclick="reply_click(this.id)"><i class="fa fa-spinner fa-spin fa-3x fa-fw"></i></td>
</tr>
<tr>
<td id="21" onclick="reply_click(this.id)"><i class="fa fa-spinner fa-spin fa-3x fa-fw"></i></td>
<td id="22" onclick="reply_click(this.id)"><i class="fa fa-spinner fa-spin fa-3x fa-fw"></i></td>
<td id="23" onclick="reply_click(this.id)"><i class="fa fa-spinner fa-spin fa-3x fa-fw"></i></td>
<td id="24" onclick="reply_click(this.id)"><i class="fa fa-spinner fa-spin fa-3x fa-fw"></i></td>
<td id="25" onclick="reply_click(this.id)"><i class="fa fa-spinner fa-spin fa-3x fa-fw"></i></td>
</tr>
</table>
<table class="score" id="score" itemprop="scoreTable">
<tr>
<td>Move</td>
<td id="move">0</td>
<td>Score</td>
<td id="win">0</td>
</tr>
</table>
<div class="button_section" itemprop="controlButtonSection">
<button onclick="redirect(8);" id="Hint" class="reset" title="Hint(h)">Hint</button>
<button onclick="init(2);" class="reset" id="reset" title="Rearrange(r)">Reset!</button>
<button onclick="restart_game();" class="reset" title="Restart Game" id="Restart">Restart</button>
<button onclick="redirect(5);" class="reset" id="help2" title="Help Page">Help</button>
<button onclick="redirect(6);" class="reset" id="support2" title="Support Game">Support</button>
</div>
<div id="login-footer" itemprop="siteFooter">
<p> Designed With ❤️ </p>
<p>By<a href="http://www.sepand.tech" title="Sepand Haghighi" target="_blank" rel="noopener"> S.Haghighi</a></p>
</div>
</div>
<script>
getname();
</script>
<script src="js/particles.min.js"></script>
<script src="js/app.js"></script>
<!-- Google Analytics -->
<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','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-108153378-1', 'auto');
ga('send', 'pageview');
</script>
<!-- End Google Analytics -->
<script>
if ('serviceWorker' in navigator) {
navigator.serviceWorker.register('service-worker.js')
.then(function(reg){
}).catch(function(err) {
});
}
</script>
</body>
</html>