-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
142 lines (141 loc) · 8.57 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
<!DOCTYPE html>
<html lang='en'>
<head>
<title>NiFTy Hextris</title>
<meta name="apple-itunes-app" content="app-id=903769553"/>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0, minimal-ui"/>
<meta property="og:url" content="https://niftyhextris.netlify.app/"/>
<meta property="og:site_name" content="NiFTy Hextris"/>
<meta property="og:title" content="Hextris"/>
<meta property="og:description" content="An addictive puzzle game inspired by Tetris."/>
<meta property="og:type" content="website"/>
<meta property="og:author" content="https://www.facebook.com/NiFTyhextris"/>
<meta property="og:image" content="https://niftyhextris.netlify.app/images/facebook-opengraph.png"/>
<meta property="og:image:width" content="1200"/>
<meta property="og:image:height" content="630"/>
<meta property="twitter:card" content="summary"/>
<meta property="twitter:site" content="@NiFTyhextris"/>
<meta property="twitter:site:id" content="2742209678"/>
<meta property="twitter:creator" content="@NiFTyHextris"/>
<meta property="twitter:creator:id" content="2742209678"/>
<meta property="twitter:domain" content="https://niftyhextris.netlify.app"/>
<meta property="twitter:title" content="NiFTy Hextris"/>
<meta property="twitter:description" content="An addictive puzzle game based on by Tetris."/>
<meta property="twitter:image:src" content="https://niftyhextris.netlify.app/images/twitter-opengraph.png"/>
<meta property="twitter:image:width" content="512"/>
<meta property="twitter:image:height" content="512"/>
<meta property="twitter:app:country" content="us">
<link rel="icon" type="image/png" href="favicon.ico">
<link href='https://fonts.googleapis.com/css?family=Exo+2' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="style/fa/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="style/style.css">
<script type='text/javascript' src="vendor/hammer.min.js"></script>
<script type='text/javascript' src="vendor/js.cookie.js"></script>
<script type='text/javascript' src="vendor/jsonfn.min.js"></script>
<script type='text/javascript' src="vendor/keypress.min.js"></script>
<script type='text/javascript' src="vendor/jquery.js"></script>
<script type='text/javascript' src="js/watcher.js" defer></script>
<script type='text/javascript' src="js/save-state.js"></script>
<script type='text/javascript' src="js/view.js"></script>
<script type='text/javascript' src="js/wavegen.js"></script>
<script type='text/javascript' src="js/math.js"></script>
<script type='text/javascript' src="js/Block.js"></script>
<script type='text/javascript' src="js/Hex.js"></script>
<script type='text/javascript' src="js/Text.js"></script>
<script type='text/javascript' src="js/comboTimer.js"></script>
<script type='text/javascript' src="js/checking.js"></script>
<script type='text/javascript' src='js/update.js'></script>
<script type='text/javascript' src='js/render.js'></script>
<script type='text/javascript' src="js/input.js"></script>
<script type='text/javascript' src="js/main.js"></script>
<script type='text/javascript' src="js/initialization.js"></script>
<script type="text/javascript" src='vendor/rrssb.min.js' defer></script>
<script src="vendor/sweet-alert.min.js"></script>
<script type="text/javascript" src="js/web3.min.js" defer></script>
<script type="text/javascript" src="js/RandomNumberConsumer.js" defer></script>
<script type="text/javascript" src="js/NiFTyHextris.js" defer></script>
<script type="text/javascript" src="js/dapp.js" defer></script>
<link rel="stylesheet" href="style/rrssb.css"/>
</head>
<body>
<canvas id="canvas"></canvas>
<div id="overlay" class="faded overlay"></div>
<div id='startBtn' ></div>
<div id="helpScreen" class='unselectable'>
<div id='inst_main_body'></div>
</div>
<img id="openSideBar" class='helpText' src="./images/btn_help.svg"/>
<div class="faded overlay"></div>
<img id="pauseBtn" src="./images/btn_pause.svg"/>
<img id='restartBtn' src="./images/btn_restart.svg"/>
<div id='walletDetailsText'>
<div id='walletAddressBlock'><span id="gamerWalletAddress"></span><span id="ethBalance"></span></div>
<div id='ethBalanceBlock'><span id="ethBalance"></span></div>
<div id='gameStatusBlock'><span id="gameStatus"></span></div>
</div>
<div id='highScoreInGameText'>
<div id='highScoreInGameTextHeader'>HIGH SCORE</div>
<div id='currentHighScore'>10292</div>
</div>
<div id='web3GameOptions'></div>
<div id="gameoverscreen">
<div id='container'>
<div id='gameOverBox' class='GOTitle'>GAME OVER</div>
<div id='cScore'>1843</div>
<div id='highScoresTitle' class='GOTitle'>HIGH SCORES</div>
<div class='score'><span class='scoreNum'>1.</span> <div id="1place" style="display:inline;">0</div></div>
<div class='score'><span class='scoreNum'>2.</span> <div id="2place" style="display:inline;">0</div></div>
<div class='score'><span class='scoreNum'>3.</span> <div id="3place" style="display:inline;">0</div></div>
</div>
<div id='bottomContainer'>
<img id='restart' src='./images/btn_restart.svg' height='57px'>
<div id='socialShare'>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg width="224.6377px" height="57px" viewBox="0 0 255 65" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Share button</title>
<defs>
</defs>
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
<g id="Game-over-" sketch:type="MSArtboardGroup" transform="translate(-95.000000, -565.000000)">
<g id="Share-button" sketch:type="MSLayerGroup" transform="translate(95.000000, 565.000000)">
<a style="cursor:pointer;"class="popup" onclick="window.open('https://twitter.com/intent/tweet?text=Can you beat my score of '+ score +' points at&button_hashtag=hextris ? https://niftyhextris.on.fleek.co @hextris','name','width=600,height=400')" ><polygon id="Score-hex-2" fill="#3498DB" sketch:type="MSShapeGroup" transform="translate(127.661316, 32.500000) rotate(-90.000000) translate(-127.661316, -32.500000) " points="127.661316 -94.814636 160.137269 -76.064636 160.137269 141.064636 127.661317 159.814636 95.185364 141.064636 95.1853635 -76.064636 "></polygon></a>
<text style="cursor:pointer;"class="popup" onclick="window.open('https://twitter.com/intent/tweet?text=Can you beat my score of '+ score +' points at&button_hashtag=hextris ? https://niftyhextris.on.fleek.co @hextris','name','width=600,height=400')" id="SHARE-MY-SCORE!" sketch:type="MSTextLayer" font-family="Exo" font-size="16" font-weight="420" fill="#FFFFFF">
<tspan x="67" y="39">SHARE MY SCORE!</tspan>
</text>
</g>
</g>
</g>
</svg>
</div>
<div id='buttonCont'>
<ul class="rrssb-buttons">
<li class="rrssb-facebook">
<a href='http://www.facebook.com/sharer.php?s=100
&p[url]=https://github.com/CreatifyPlatform/NiFTy' class="popup">
<span class="rrssb-icon">
<svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid" width="29" height="29" viewBox="0 0 29 29">
<path d="M26.4 0H2.6C1.714 0 0 1.715 0 2.6v23.8c0 .884 1.715 2.6 2.6 2.6h12.393V17.988h-3.996v-3.98h3.997v-3.062c0-3.746 2.835-5.97 6.177-5.97 1.6 0 2.444.173 2.845.226v3.792H21.18c-1.817 0-2.156.9-2.156 2.168v2.847h5.045l-.66 3.978h-4.386V29H26.4c.884 0 2.6-1.716 2.6-2.6V2.6c0-.885-1.716-2.6-2.6-2.6z"
class="cls-2" fill-rule="evenodd"/>
</svg>
</span>
<span class="rrssb-text">facebook</span>
</a>
</li>
<li class="rrssb-twitter">
<a href="http://twitter.com/home?status=Play NiFTy Hextris! - https://github.com/CreatifyPlatform/NiFTy #NFT #NiFTyhextris"
class="popup">
<span class="rrssb-icon">
<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 28 28">
<path d="M24.253 8.756C24.69 17.08 18.297 24.182 9.97 24.62c-3.122.162-6.22-.646-8.86-2.32 2.702.18 5.375-.648 7.507-2.32-2.072-.248-3.818-1.662-4.49-3.64.802.13 1.62.077 2.4-.154-2.482-.466-4.312-2.586-4.412-5.11.688.276 1.426.408 2.168.387-2.135-1.65-2.73-4.62-1.394-6.965C5.574 7.816 9.54 9.84 13.802 10.07c-.842-2.738.694-5.64 3.434-6.48 2.018-.624 4.212.043 5.546 1.682 1.186-.213 2.318-.662 3.33-1.317-.386 1.256-1.248 2.312-2.4 2.942 1.048-.106 2.07-.394 3.02-.85-.458 1.182-1.343 2.15-2.48 2.71z"
/>
</svg>
</span>
<span class="rrssb-text">twitter</span>
</a>
</li>
</ul>
</div>
</div>
</div>
</body>
</html>