forked from EliAndrea/battleShip
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
60 lines (60 loc) · 2.15 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
53
54
55
56
57
58
59
60
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link rel="stylesheet" href="battle.css" type="text/css" />
<title>BattleShip Game</title>
</head>
<body>
<h1>BattleShip</h1>
<h3>Selecciona la posición de tus naves</h3>
<div class="container">
<div class="row">
<div class="col">
<div id="board">
</div>
</div>
<div class="col">
<div id="boardAttack">
</div>
</div>
</div>
<h4>Tus naves:</h4>
<div id="ships" class="row">
<div class="col">
<div>
<span>Portaviones</span></br>
<span>Tamaño: 5</span>
</div>
<div class="position"></div>
</div>
<div class="col">
<div>
<span>Acorazado</span></br>
<span>Tamaño: 4</span>
</div>
<div class="position"></div>
</div>
<div class="col">
<div>
<span>Submarino</span></br>
<span>Tamaño: 3</span>
</div>
<div class="position"></div>
</div>
<div class="col">
<div>
<span>Destructor</span></br>
<span>Tamaño: 2</span>
</div>
<div class="position"></div>
</div>
</div>
<div class="row">
<button id="button" onclick="startGame()">Empezar juego</button>
</div>
</div>
<script type="text/javascript" src="battle.js"></script>
</body>
</html>