-
Notifications
You must be signed in to change notification settings - Fork 0
/
simon.html
105 lines (102 loc) · 4.91 KB
/
simon.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>我爱记音符--郑常龙</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
<link href="simon/simon.css" rel="stylesheet" type="text/css">
<script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
<script src="simon/simon.js" type="text/javascript"></script>
</head>
<body>
<div class="container" id="container">
<div class="row">
<div class="col-xs-12 col-sm-8 col-sm-offset-2 col-md-6 col-md-offset-3">
<div class="main">
<div id="ctrl" class="ctrl">
<div class="onoffswitch">
<input type="checkbox" name="onoffswitch" class="onoffswitch-checkbox" id="myonoffswitch">
<label class="onoffswitch-label" for="myonoffswitch">
<span class="onoffswitch-inner"></span>
<span class="onoffswitch-switch"></span>
</label>
</div>
<div class="screen" id="screen">
<span class="msgBox" id="msgBox">当前为"自由模式"
</span>
<p class="showGameLvl">当前关卡:
<span id="getGameLvl">1</span>
</p>
<p class="showBtnTip">
您可点击上方"开关"
<br>↑开启记忆模式↑
</p>
</div>
</div>
<ul id="fans" class="fans">
<li id="item0"><span>0</span></li>
<li id="item1"><span>1</span></li>
<li id="item2"><span>2</span></li>
<li id="item3"><span>3</span></li>
<li id="item4"><span>4</span></li>
<li id="item5"><span>5</span></li>
<li id="item6"><span>6</span></li>
<li id="item7"><span>7</span></li>
</ul>
</div>
<div class="iptPannel">
<input type="text" name="ipt" class="ipt" id="ipt" placeholder=" 请输入0到7之间的任意数字组合 ">
<br>
<button class="iptBtn btn-primary" id="iptPlay">演奏</button>
<button class="iptBtn btn-primary" id="iptClear">清空</button>
</div>
<p class="footer">
<a target="_blank" href="https://github.com/mike652638/simon-game">欢迎访问"我的GitHub"查看本游戏源代码</a>
</p>
<p class="dvcTip">
<span id="clsTip">☒</span>我们检测到您正在使用的设备是 <span id="userDvc"></span>, 本游戏部分操作可能会存在明显延迟, 您可用电脑访问以获得最佳体验, 后续我们会进行针对性的优化
</p>
</div>
</div>
</div>
<div class="tipsForIE9" id="tipsForIE9">
<p>抱歉, 我们检测到您的浏览器内核版本可能低于IE9, 本页面无法正常显示。
</p>
<p>为了更好的上网体验, 我们强烈建议您升级浏览器
</p>
<p>谷歌Chrome浏览器:
<a target='_blank' href='https://www.google.com/chrome/browser/desktop/index.html'>下载地址</a>
</p>
<p>火狐Firefox浏览器:
<a target='_blank' href='http://www.firefox.com.cn/?utm_medium=referral&utm_source=mozilla.org'>下载地址</a>
</p>
</div>
<div class="pianoSnd" id="pianoSnd">
<audio id="aud0" controls preload="auto">
<source src="simon/snd/0.mp3" type="audio/mpeg">
</audio>
<audio id="aud1" controls preload="auto">
<source src="simon/snd/1.mp3" type="audio/mpeg">
</audio>
<audio id="aud2" controls preload="auto">
<source src="simon/snd/2.mp3" type="audio/mpeg">
</audio>
<audio id="aud3" controls preload="auto">
<source src="simon/snd/3.mp3" type="audio/mpeg">
</audio>
<audio id="aud4" controls preload="auto">
<source src="simon/snd/4.mp3" type="audio/mpeg">
</audio>
<audio id="aud5" controls preload="auto">
<source src="simon/snd/5.mp3" type="audio/mpeg">
</audio>
<audio id="aud6" controls preload="auto">
<source src="simon/snd/6.mp3" type="audio/mpeg">
</audio>
<audio id="aud7" controls preload="auto">
<source src="simon/snd/7.mp3" type="audio/mpeg">
</audio>
</div>
</body>
</html>