-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
36 lines (36 loc) · 1.37 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
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>3 en Raya</title>
<link rel="icon" type="image/png" href="img/Ico.png">
<link rel="stylesheet" href="styles.css">
<style>body{background-image: url("img/wallpaper.jpg");background-repeat: no-repeat; background-size: 100%;}</style>
</head>
<body>
<div class="container">
<h1>3 en Raya</h1>
<div id="game" class="board">
<div class="row">
<button class="cell" onclick="placeMarker(0, 0)"></button>
<button class="cell" onclick="placeMarker(0, 1)"></button>
<button class="cell" onclick="placeMarker(0, 2)"></button>
</div>
<div class="row">
<button class="cell" onclick="placeMarker(1, 0)"></button>
<button class="cell" onclick="placeMarker(1, 1)"></button>
<button class="cell" onclick="placeMarker(1, 2)"></button>
</div>
<div class="row">
<button class="cell" onclick="placeMarker(2, 0)"></button>
<button class="cell" onclick="placeMarker(2, 1)"></button>
<button class="cell" onclick="placeMarker(2, 2)"></button>
</div>
</div>
<div id="status" class="status">Turno del jugador X</div>
<button class="reset-btn" onclick="resetGame()">Reiniciar Juego</button>
</div>
<script src="script.js"></script>
</body>
</html>