hextris/index.html

102 lines
8 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html lang='en'>
<!-- start Mixpanel --><script type="text/javascript">(function(f,b){if(!b.__SV){var a,e,i,g;window.mixpanel=b;b._i=[];b.init=function(a,e,d){function f(b,h){var a=h.split(".");2==a.length&&(b=b[a[0]],h=a[1]);b[h]=function(){b.push([h].concat(Array.prototype.slice.call(arguments,0)))}}var c=b;"undefined"!==typeof d?c=b[d]=[]:d="mixpanel";c.people=c.people||[];c.toString=function(b){var a="mixpanel";"mixpanel"!==d&&(a+="."+d);b||(a+=" (stub)");return a};c.people.toString=function(){return c.toString(1)+".people (stub)"};i="disable track track_pageview track_links track_forms register register_once alias unregister identify name_tag set_config people.set people.set_once people.increment people.append people.track_charge people.clear_charges people.delete_user".split(" ");
for(g=0;g<i.length;g++)f(c,i[g]);b._i.push([a,e,d])};b.__SV=1.2;a=f.createElement("script");a.type="text/javascript";a.async=!0;a.src="//cdn.mxpnl.com/libs/mixpanel-2.2.min.js";e=f.getElementsByTagName("script")[0];e.parentNode.insertBefore(a,e)}})(document,window.mixpanel||[]);
mixpanel.init("883204b8a40c5693d608bcf489405ecc");</script><!-- end Mixpanel -->
2014-07-04 20:42:55 +00:00
<head>
<title>Hextris</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0, minimal-ui"/>
<meta property="og:url" content="http://hextris.github.io/hextris/" />
<meta property="og:site_name" content="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/hextris" />
<meta property="og:image" content="http://hextris.github.io/hextris/images/facebook-opengraph.png" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
2014-07-04 20:42:55 +00:00
<link rel="icon" type="image/png" href="favicon.ico">
<link rel="stylesheet" type="text/css" href="style/style.css">
<link rel="stylesheet" href="style/fa/css/font-awesome.min.css">
2014-08-21 02:56:53 +00:00
<script type = 'text/javascript' src="vendor/hammer.min.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/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>
2014-07-27 20:18:15 +00:00
<script type = 'text/javascript' charset = 'utf-8' src = 'cordova.js'></script>
2014-07-27 20:46:18 +00:00
</head>
2014-08-18 01:05:34 +00:00
<body>
2014-08-18 13:57:52 +00:00
<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/sdk.js#xfbml=1&version=v2.0";
fjs.parentNode.insertBefore(js, fjs);
2014-08-18 15:44:07 +00:00
}(document, 'script', 'facebook-jssdk'));</script>
2014-07-27 20:46:18 +00:00
<canvas id="canvas"></canvas>
<div id='devtools' style='z-index:3;display:none;position:absolute;left:50%;width:400px;height:400px;top:50%;margin-top:-200px;margin-left:-200px;'>
<h2 id = 'clickToExit' style = 'background-color:#fff;color:#000'>Click to exit</h2>
<textarea id ='devtoolsText' style = 'height:300px;width:400px;'></textarea>
</div>
<div id="overlay" class="faded"></div>
<div id="attributions">Started by <a href="http://github.com/teamsnowman" target="_blank">@teamsnowman</a> at <a href= 'http://www.hackexeter.com/' target="_blank">HackExeter</a><br>
2014-08-15 03:22:14 +00:00
Finished by <a href="http://github.com/meadowstream" target="_blank">Logan Engstrom</a> & <a href='http://github.com/garrettdreyfus' target="_blank">Garrett Finucane</a> on <a href = 'http://github.com/hextris/hextris' target="_blank">GitHub</a><br>
2014-08-18 15:24:07 +00:00
<a href = 'https://itunes.apple.com/us/app/id903769553?mt=8'>iOS</a> & <a href ='https://play.google.com/store/apps/details?id=com.hextris.hextris'>Android</a> apps + <a href ='http://hextris.github.io/presskit/info.html'>press kit</a> @ <a href='http://hextris.github.io/'>http://hextris.github.io/</a>
</div>
2014-07-04 20:42:55 +00:00
<div id='startBtn' style='position:absolute;left:40%;top:38%;height:25%;width:25%;z-index:99999999;cursor:pointer;'></div>
<div id="helpScreen" class = 'unselectable'>
<h1 class = 'instructions_body'>Instructions</h1>
2014-07-05 02:23:19 +00:00
<p class = 'instructions_body' id = 'inst_main_body'>
The goal of Hextris is to stop blocks from leaving the inside of the outer gray hexagon
2014-07-04 20:42:55 +00:00
<br>
<br>
2014-07-05 02:23:19 +00:00
Tap the left and right sides of the screen to rotate the Hexagon
2014-07-04 20:42:55 +00:00
<br>
<br>
Clear blocks by making 3 or more blocks of the same color touch
2014-07-04 20:42:55 +00:00
<br>
<br>
2014-07-05 02:23:19 +00:00
Get points by clearing blocks
2014-07-04 20:42:55 +00:00
<br>
<br>
2014-08-10 18:28:18 +00:00
Time left before your combo streak disappears is indicated shown by <span style='color:#f1c40f;'>the</span> <span style='color:#e74c3c'>colored</span><span style='color:#3498db'>lines</span> <span style='color:#2ecc71'>in</span> the outer hexagon
2014-07-04 20:42:55 +00:00
<br>
<br>
2014-07-05 02:23:19 +00:00
Pause by pressing <i class = 'fa fa-pause'></i>
<br>
2014-07-05 02:23:19 +00:00
Restart by pressing <i class = 'fa fa-refresh'></i>
<br>
2014-07-05 02:23:19 +00:00
Bring up this menu by pressing <i class = 'fa fa-info-circle'></i>
<br>
<br>
2014-07-28 00:17:18 +00:00
<span>Comments? Email <a href='mailto:hextrisgame@gmail.com'>hextrisgame@gmail.com</a></span>
2014-07-04 20:42:55 +00:00
</p>
</div>
<div id="openSideBar" class = 'helpText'><i class="fa fa-info-circle fa-lg"></i> <i class="fa fa-arrow-left"><b> Help</b></i></div>
2014-07-04 20:42:55 +00:00
<div id="overlay" class="faded"></div>
<div id = 'pauseBtn'><div id = 'pauseBtnInner'><i class="fa fa-pause fa-2x"></div></i></div>
<div id = 'restartBtn'><div id = 'restartBtnInner'><i class="fa fa-refresh fa-2x"></i></div></div>
2014-07-21 01:47:08 +00:00
<div id="bottombar">
2014-08-18 15:44:07 +00:00
<div style="bottom:4px; padding-right:4px;" class="fb-like" data-href="http://hextris.github.io/hextris" data-width="20" data-layout="button_count" data-action="like" data-show-faces="false" data-share="true"></div>
<a href="https://twitter.com/intent/tweet?hashtags=hextris&original_referer=http%3A%2F%2F0.0.0.0%3A8080%2F&text=Play%20Hextris!%20-&tw_p=tweetbutton&url=http%3A%2F%2Fhextris.github.io%2F" class="twitter-share-button" data-url="http://hextris.github.io/" data-text="Play Hextris! -" data-hashtags="hextris">Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
2014-08-18 16:07:43 +00:00
<iframe id = 'ghl' src="http://ghbtns.com/github-btn.html?user=Hextris&repo=Hextris&type=watch&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="90" height="20" onload='showbottombar()'></iframe>
2014-07-21 01:47:08 +00:00
</div>
2014-08-10 19:07:52 +00:00
<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-51272720-2', 'auto'); ga('send', 'pageview'); </script>
2014-07-23 02:33:41 +00:00
</body>
2014-05-24 16:48:46 +00:00
</html>