-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.html
36 lines (29 loc) · 807 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
32
33
34
35
36
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Mata Mosquito</title>
<link rel="stylesheet" type="text/css" href="estilo.css">
<script src="jogo.js"></script>
</head>
<body onresize="ajustaTamanhoPalcoJogo()">
<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
posicaoRandomica()
var criaMosquito = setInterval(function(){
posicaoRandomica()
}, criaMosquitoTempo)
</script>
</body>
</html>