This repository has been archived by the owner on Oct 29, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
/
index.html
52 lines (46 loc) · 1.33 KB
/
index.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<title>Jogo da Velha</title>
<link rel="stylesheet" href="estilo.css" />
<script src="velha.js"></script>
</head>
<body>
<div id="boas-vindas">
<h2>Seja bem-vindo ao jogo, clique para iniciar</h2>
<input type="button" onclick="js:inicia()" value="iniciar">
</div>
<div id="jogo">
<div id="grade">
<button id="bt_0_0" onclick="js:clicado(this)" />
<button id="bt_0_1" onclick="js:clicado(this)" />
<button id="bt_0_2" onclick="js:clicado(this)" />
<button id="bt_1_0" onclick="js:clicado(this)" />
<button id="bt_1_1" onclick="js:clicado(this)" />
<button id="bt_1_2" onclick="js:clicado(this)" />
<button id="bt_2_0" onclick="js:clicado(this)" />
<button id="bt_2_1" onclick="js:clicado(this)" />
<button id="bt_2_2" onclick="js:clicado(this)" />
</div>
<br />
<div id="timer">20</div>
<div id="gameover"></div>
<div>
<div >
<h5>Vitórias X:</h5> <h2 id="px">0</h2>
</div>
<div >
<h5>Vitórias O:</h5> <h2 id="po">0</h2>
</div>
<div>
<h5>Empates:</h5> <h2 id="pe">0</h2>
</div>
</div>
<div id="reiniciar">
<button id="bt_3_0" onclick="js:depoisqueacabareinicia()" > reiniciar </button>
<div>
<input type="button" onclick="js:desfazendo()" value="desfazer"/>
</div>
</body>
</html>