-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
177 lines (155 loc) · 8 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
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
<!DOCTYPE html>
<html>
<html xmlns:wb=“http://open.weibo.com/wb”>
<head>
<meta charset="utf-8">
<title>Poké2048</title>
<link href="style/main.css" rel="stylesheet" type="text/css">
<link rel="shortcut icon" href="favicon.ico">
<link rel="apple-touch-icon" href="meta/apple-touch-icon.png">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, target-densitydpi=160dpi, initial-scale=1.0, maximum-scale=1, user-scalable=no, minimal-ui">
<!--必填-->
<meta property="og:type" content="webpage" />
<meta property="og:url" content="http://poke2048.com/" />
<meta property="og:title" content="神奇宝贝2048!" />
<meta property="og:description" content="你能抓住传说中的梦幻吗?" />
<!--选填-->
<meta property="og:image" content="meta/apple-touch-icon.png" />
</head>
<body>
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="container">
<div class="heading">
<h1 class="title">Poké2048</h1>
<div class="scores-container">
<div class="score-container">0</div>
<div class="best-container">0</div>
</div>
</div>
<p class="game-intro">Evolve the Pokémon and <strong>Catch MEW!</strong></p>
<!--<div class="fb-like" data-href="https://poke2048.com" data-layout="button_count" data-action="like" data-show-faces="true" data-share="true"></div>-->
<div class="game-container">
<div class="game-message">
<p></p>
<div class="lower">
<a class="keep-playing-button">Keep going</a>
<a class="retry-button">Try again</a>
<div class="score-sharing"></div>
</div>
</div>
<div class="info">
<!-- <div class="hide-info"><a>HIDE</a></div> -->
<p>Use your arrow keys or swipe to combine same Pokémon and score points! </p>
<p>Catch MEW to win!</p>
<p>用方向键或滑动屏幕来合并相同的神奇宝贝使它进化!</p>
<p>快去抓住梦幻吧!</p>
<p> Poké-fied by <a href="http://github.com/Hosuke" target="_blank">Huang Geyang</a>.</p>
</div>
<div class="grid-container">
<div class="grid-row">
<div class="grid-cell"></div>
<div class="grid-cell"></div>
<div class="grid-cell"></div>
<div class="grid-cell"></div>
</div>
<div class="grid-row">
<div class="grid-cell"></div>
<div class="grid-cell"></div>
<div class="grid-cell"></div>
<div class="grid-cell"></div>
</div>
<div class="grid-row">
<div class="grid-cell"></div>
<div class="grid-cell"></div>
<div class="grid-cell"></div>
<div class="grid-cell"></div>
</div>
<div class="grid-row">
<div class="grid-cell"></div>
<div class="grid-cell"></div>
<div class="grid-cell"></div>
<div class="grid-cell"></div>
</div>
</div>
<div class="tile-container">
</div>
</div>
<div class="info-container">
<a class="show-info">How to Play? 怎么玩?</a>
</div>
<p>
Poké-fied by <a href="http://hosuke.com" target="_blank">Huang Geyang</a>.
Created by<a href="http://gabrielecirulli.com" target="_blank">Gabriele Cirulli</a>. Based on <a href="https://itunes.apple.com/us/app/1024!/id823499224" target="_blank">1024 by Veewo Studio</a> and conceptually similar to <a href="http://asherv.com/threes/" target="_blank">Threes by Asher Vollmer.</a>
</p>
<div class="sharing">
<a href="https://twitter.com/share" class="twitter-share-button" data-via="huanggeyang" data-lang="en" data-text="Check out Poké2048, can you catch MEW in Poké2048? #Poké2048#" data-url="http://poke2048.com">Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="https://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
<script type="text/javascript" src="http://widget.renren.com/js/rrshare.js"></script>
<a name="xn_share" onclick="shareClick()" type="button_medium" href="javascript:;"></a>
<script type="text/javascript">
function shareClick() {
var rrShareParam = {
resourceUrl : 'http://poke2048.com', //分享的资源Url
srcUrl : 'http://poke2048.com', //分享的资源来源Url,默认为header中的Referer,如果分享失败可以调整此值为resourceUrl试试
pic : 'meta/apple-touch-icon.png', //分享的主题图片Url
title : '神奇宝贝2048!', //分享的标题
description : '你能抓住传说中的梦幻吗?' //分享的详细描述
};
rrShareOnclick(rrShareParam);
}
</script>
<script type="text/javascript">
(function(){
var p = {
url:location.href,
showcount:'1',/*是否显示分享总数,显示:'1',不显示:'0' */
desc:'',/*默认分享理由(可选)*/
summary:'你能抓住传说中的梦幻吗?',/*分享摘要(可选)*/
title:'神奇宝贝2048!',/*分享标题(可选)*/
site:'http://poke2048.com',/*分享来源 如:腾讯网(可选)*/
pics:'meta/apple-touch-icon.png', /*分享图片的路径(可选)*/
style:'102',
width:105,
height:24
};
var s = [];
for(var i in p){
s.push(i + '=' + encodeURIComponent(p[i]||''));
}
document.write(['<a version="1.0" class="qzOpenerDiv" href="http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?',s.join('&'),'" target="_blank">分享</a>'].join(''));
})();
</script>
<script src="http://qzonestyle.gtimg.cn/qzone/app/qzlike/qzopensl.js#jsdate=20111201" charset="utf-8"></script>
<script src="http://tjs.sjs.sinajs.cn/open/api/js/wb.js" type="text/javascript" charset="utf-8"></script>
<wb:share-button appkey="1CyFrl" addition="number" type="button" ralateUid="5079284595" default_text="你能抓住传说中的梦幻吗?神奇宝贝2048!#神奇宝贝2048# http://poke2048.com" pic="http%3A%2F%2Fpoke2048.com%2Fmeta%2Fapple-touch-icon.png"></wb:share-button>
</div>
<div class="fb-like" data-href="https://poke2048.com" data-layout="button_count" data-action="like" data-show-faces="true" data-share="true"></div>
</div>
<script src="js/animframe_polyfill.js"></script>
<script src="js/keyboard_input_manager.js"></script>
<script src="js/html_actuator.js"></script>
<script src="js/grid.js"></script>
<script src="js/tile.js"></script>
<script src="js/local_score_manager.js"></script>
<script src="js/game_manager.js"></script>
<script src="js/application.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','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-49156583-1', 'poke2048.com');
ga('send', 'pageview');
</script>
</body>
</html>