-
Notifications
You must be signed in to change notification settings - Fork 11
/
index.html
113 lines (102 loc) · 4.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
<!DOCTYPE html>
<html lang="en" manifest="cache.appcache">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Prism</title>
<meta name="keywords" content="2048, prism, rainbow, color, game, color game, rainbow game">
<meta name="description" content="Play Prism, the most addicting game on Kik!">
<!-- open graph -->
<meta property="og:title" content="Prism">
<meta name="og:description" content="Prism is the most addicting color game! Combine colors to make your way through the rainbow.">
<meta property="og:url" content="http://prism.clay.io">
<meta property="og:image" content="http://prism.clay.io/images/kik-icon.png">
<!-- twitter -->
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="@claydotio">
<meta name="twitter:creator" content="@claydotio">
<meta name="twitter:title" content="Play Prism!">
<meta name="twitter:description" content="Prism is the most addicting color game! Combine colors to make your way through the rainbow.">
<meta name="twitter:image" content="http://prism.clay.io/images/kik-icon.png">
<!-- mobile -->
<meta name="viewport" content="initial-scale=1.0, width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0, minimal-ui">
<link rel="apple-touch-icon" href="images/kik-icon.png">
<link rel="kik-icon" href="images/kik-icon.png?1">
<link rel="shortcut icon" href="images/favicon.ico">
<link rel="canonical" href="http://prism.clay.io/">
<link rel="terms" href="http://clay.io/tos">
<link rel="privacy" href="http://clay.io/privacy">
<link href="dist/style.min.css" rel="stylesheet">
</head>
<body>
<!-- For wechat to show the icon when sharing (must be first img on page and > 300x300px). display: none can't be used, but width and height 0 works-->
<!--<img src='http://prism.clay.io/images/icon-300.png' style='width: 0; height: 0;'>-->
<div id='info-screen'>
<div class='info'>
<h1 id='logo-text'>prism</h1>
<div id='game-over-box'><h2 id='game-over-text'>Game Over</h2></div><!-- game over data goes here -->
</div>
</div>
<div class='bubble-wrapper'>
<div class='bubble score-bubble'>
Score: <span id='score'>0</span>
</div>
<div class='bubble share-bubble'>
<div class='share' id='share'>
<!-- nothing here for now, we load dynamically so page load isn't affected -->
</div>
</div>
</div>
<div class='grid-outer'>
<div class='grid-inner'>
<div class='grid-background'>
<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 class='grid'>
</div>
</div>
</div>
</div>
<div id='progress-bar'>
<div id='progress-cover' class='progress-0'></div>
</div>
<script>
;(function(C,l,a,y,_,i,o){C[_]=C[_]||function(){
(C[_].q=C[_].q||[]).push(arguments)},C[_].l=1*new Date();i=l.createElement(a),
o=l.getElementsByTagName(a)[0];i.async=1;i.src=y;o.parentNode.insertBefore(i,o)
})(window,document,'script','//cdn.wtf/sdk/v1/clay_sdk.js?1417499712','Clay');
Clay('init', {gameId: '4875'});
// Load GA
;(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-27992080-1', 'clay.io');
ga('send', 'pageview');
</script>
<script src='dist/lib.min.js'></script>
<script src='dist/prism.min.js'></script>
</body>
</html>