-
-
Save melcor76/60ed5e8ccd6417b9267483218db637fe to your computer and use it in GitHub Desktop.
js-tetris - index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="grid"> | |
<canvas id="board" class="game-board"></canvas> | |
<div class="right-column"> | |
<div> | |
<h1>TETRIS</h1> | |
<p>Score: <span id="score">0</span></p> | |
<p>Lines: <span id="lines">0</span></p> | |
<p>Level: <span id="level">0</span></p> | |
<canvas id="next" class="next"></canvas> | |
</div> | |
<button onclick="play()" class="play-button">Play</button> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment