-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.html
31 lines (26 loc) · 921 Bytes
/
app.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Mata Mosquito</title>
<link rel="stylesheet" href="estilo.css" />
<script src="jogo.js"></script>
</head>
<body onresize="ajustaTamanhoPalcoJogo"> <!--AJUSTA TAMANHO DO PALCO-->
<div class="painel">
<div class="vidas">
<img id="v1" src="imagens/coracao_cheio.png"/>
<img id="v2" src="imagens/coracao_cheio.png"/>
<img id="v3" src="imagens/coracao_cheio.png"/>
</div>
<div class="cronometro">Tempo restante: <span id="cronometro"></span></div>
</div>
<script>
document.getElementById('cronometro').innerHTML = tempo
var cria_mosquito = setInterval(function(){
posicaoRandomica()
}, criaMosquitoTempo)
</script>
</body>
</html>