mirror of
https://github.com/hexahigh/games.git
synced 2025-12-11 20:15:38 +01:00
20 lines
758 B
HTML
20 lines
758 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<audio id="music" loop autoplay>
|
|
<source src="sound/Mekorama Mobile Official Theme Song.mp3" type="audio/mp3">
|
|
</audio>
|
|
<title>HTML5 Tetris</title>
|
|
<link rel='stylesheet' href='style.css' />
|
|
</head>
|
|
<body>
|
|
<audio id="clearsound" src="sound/pop.ogg" preload="auto"></audio>
|
|
<canvas width='300' height='600'></canvas>
|
|
<button id="playbutton" onclick="playButtonClicked();">Play</button>
|
|
<button onclick="toggleMuted()">Mute|Unmute</button>
|
|
<script src='js/tetris.js'></script>
|
|
<script src='js/controller.js'></script>
|
|
<script src='js/render.js'></script>
|
|
<script src="js/music.js"></script>
|
|
</body>
|
|
</html> |