-
Notifications
You must be signed in to change notification settings - Fork 0
/
SeaBattle.html
34 lines (30 loc) · 914 Bytes
/
SeaBattle.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
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="firefox">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Морской Бой</title>
<link rel="stylesheet" href="SeaBattle.css">
</head>
<body>
<p style="text-align:left;">
Первый игрок
<span style="float:right;">
Второй игрок
</span>
</p>
<div class="gameFieldContainer">
<div id="f1" class="gameField">
</div>
<div id="f3" class="gameInfo">
<p id="p1"></p>
<button onclick="location.reload()">Новая игра</button>
<p>Ходов:<p id="hod"></p></p>
</div>
<div id="f2" class="gameField">
</div>
</div>
</body>
<script src="main.js"></script>
</html>