2021-02-05 03:19:09 -06:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
2021-02-13 07:22:26 -06:00
|
|
|
<style>
|
|
|
|
|
|
|
|
::-webkit-scrollbar {
|
|
|
|
width: 5px;
|
|
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
|
|
background: #f1f1f1;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Handle */
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
|
|
background: #888;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Handle on hover */
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
|
|
background: #555;
|
|
|
|
}
|
|
|
|
</style>
|
2021-02-05 03:19:09 -06:00
|
|
|
<title>Tetrion Opening Trainer</title>
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="css/styles.css">
|
2021-02-13 07:22:26 -06:00
|
|
|
<script>
|
|
|
|
function setOpener() {
|
|
|
|
document.getElementById("demo").innerHTML = "Paragraph changed.";
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
|
2021-02-05 03:19:09 -06:00
|
|
|
</head>
|
|
|
|
<body>
|
2021-02-09 21:19:20 -06:00
|
|
|
|
2021-02-12 22:44:49 -06:00
|
|
|
|
2021-02-13 10:36:31 -06:00
|
|
|
|
2021-02-16 15:45:14 -06:00
|
|
|
<iframe id="bg" width="640" height="360" frameborder="0" src="https://www.shadertoy.com/embed/wttfW2?gui=&t=10&paused=false&muted=false" allowfullscreen></iframe>
|
2021-02-12 22:44:49 -06:00
|
|
|
<script>
|
2021-02-13 07:22:26 -06:00
|
|
|
|
2021-02-12 22:44:49 -06:00
|
|
|
|
|
|
|
document.getElementById("bg").width = window.innerWidth;
|
2021-02-13 10:36:31 -06:00
|
|
|
document.getElementById("bg").height = window.innerHeight;
|
2021-02-12 22:44:49 -06:00
|
|
|
</script>
|
|
|
|
<div id="tetris">
|
2021-02-13 07:22:26 -06:00
|
|
|
|
2021-02-05 03:19:09 -06:00
|
|
|
<canvas id="scene"></canvas>
|
2021-02-09 21:19:20 -06:00
|
|
|
<div id="leftSide">
|
|
|
|
|
2021-02-13 07:22:26 -06:00
|
|
|
<!--<header>header area</header>-->
|
|
|
|
<nav>
|
|
|
|
<ul>
|
|
|
|
<li style="font-size:12px";><a href="#" id="setTKIFonzieVar">TKI 3 (Fonzie variation) </a></li>
|
|
|
|
<li style="font-size:12px";><a href="#" id="setTKIFonzieVar">TKI 3 (Flat Top variation) </a></li>
|
|
|
|
<li style="font-size:12px";><a href="#" id="setTKIFonzieVar">TKI 3 (Castle Top variation) </a></li>
|
|
|
|
<li style="font-size:12px";><a href="#" id="setTKIFonzieVar">Ajanba TSD </a></li>
|
|
|
|
<li style="font-size:12px";><a href="#" id="setTKIFonzieVar">DT Cannon (LS / JZ base)</a></li>
|
|
|
|
<li style="font-size:12px";><a href="#" id="setTKIFonzieVar">MKO Stacking</a></li>
|
|
|
|
<li style="font-size:12px";><a href="#" id="setTKIFonzieVar">Pokemino's STD </a></li>
|
|
|
|
<li style="font-size:12px";><a href="#" id="setTKIFonzieVar">Mr. T-Spin's STD (reversed) </a></li>
|
|
|
|
<li style="font-size:12px";><a href="#" id="setTKIFonzieVar">Hachispin</a></li>
|
|
|
|
<li style="font-size:12px";><a href="#" id="setTKIFonzieVar">Albatross</a></li>
|
|
|
|
<li style="font-size:12px";><a href="#" id="setTKIFonzieVar">Number One </a></li>
|
|
|
|
<li style="font-size:12px";><a href="#" id="setTKIFonzieVar">Pelican</a></li>
|
|
|
|
<li style="font-size:12px";><a href="#" id="setTKIFonzieVar">DT Cannon (TSZ base) </a></li>
|
|
|
|
<li style="font-size:12px";><a href="#" id="setTKIFonzieVar">BT Cannon </a></li>
|
|
|
|
<li style="font-size:12px";><a href="#" id="setTKIFonzieVar">C-Spin </a></li>
|
|
|
|
<li style="font-size:12px";><a href="#" id="setTKIFonzieVar">Hummingbird</a></li>
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
|
|
|
|
<!-- <footer>footer area</footer>-->
|
2021-02-09 21:19:20 -06:00
|
|
|
<canvas id="hold"></canvas>
|
|
|
|
</div>
|
2021-02-05 03:19:09 -06:00
|
|
|
<div id="gameOver">
|
|
|
|
<h1>Game Over !</h1>
|
|
|
|
<h3>Score: <span id="finalScore">0</span></h3>
|
|
|
|
<h2><a href="#" id="restart">Restart</a></h2>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div id="side">
|
|
|
|
<div id="info">
|
|
|
|
<h1 id="levelInfo">Level: <br><span id="level">1</span></h1>
|
|
|
|
<h2 id="scoreInfo">Score: <br><span id="score" >0</span></h2>
|
2021-02-09 21:19:20 -06:00
|
|
|
<h1 id="linesInfo">Lines: <br><span id="lines" >0</span></h1>
|
2021-02-05 03:19:09 -06:00
|
|
|
<div id="rewardInfo" class="invisible">+<span id="reward">0</span></div>
|
|
|
|
<canvas id="preview"></canvas>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
<script src="dist/tetrion.js"></script>
|
|
|
|
<script>
|
|
|
|
(function(){
|
|
|
|
var tetris = new Tetris('tetris');
|
|
|
|
tetris.start();
|
|
|
|
})();
|
|
|
|
</script>
|
|
|
|
</html>
|