Version Beta
This commit is contained in:
parent
a978d0b7a5
commit
f4ff246a3b
|
|
@ -0,0 +1,4 @@
|
|||

|
||||
|
||||
----
|
||||
### Juego tetromino en JavaScript.
|
||||
BIN
assets/Tetris.ogg
Normal file
BIN
assets/Tetris.ogg
Normal file
Binary file not shown.
BIN
img/Tetris.png
Normal file
BIN
img/Tetris.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 14 KiB |
|
|
@ -5,6 +5,7 @@
|
|||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap" rel="stylesheet">
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@tabler/icons-webfont@2.44.0/tabler-icons.min.css">
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<title>Tetris</title>
|
||||
</head>
|
||||
|
|
@ -24,10 +25,11 @@
|
|||
</div>
|
||||
<div style="font-size: 8px;">Esc - Salir partida</div>
|
||||
<button id="startButton" onclick="iniciarPartida()">Start</button>
|
||||
<a id="repositorioGit" href="https://git.marklogo.duckdns.org/" target="_blank"> <i class="ti ti-brand-github"></i> Repositorio Git</a>
|
||||
</div>
|
||||
</div>
|
||||
<textarea id="debug" cols="30" rows="10"></textarea>
|
||||
<audio id="musica" src="./assets/Tetris.mp3" loop></audio>
|
||||
<audio id="musica" src="./assets/Tetris.ogg" loop></audio>
|
||||
<script src="game.js"></script>
|
||||
</body>
|
||||
|
||||
|
|
|
|||
14
style.css
14
style.css
|
|
@ -65,3 +65,17 @@ button {
|
|||
button:hover {
|
||||
background-color: #45a049;
|
||||
}
|
||||
|
||||
#repositorioGit {
|
||||
display: inline-block;
|
||||
background-color: #333;
|
||||
color: #fff;
|
||||
padding: 10px 20px;
|
||||
text-decoration: none;
|
||||
border-radius: 5px;
|
||||
transition: background-color 0.3s ease;
|
||||
}
|
||||
|
||||
#repositorioGit:hover {
|
||||
background-color: #555;
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user