battleship/demo/public/bs.html

28 lines
696 B
HTML
Raw Normal View History

2022-09-14 09:34:39 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Battleship</title>
<script src="/socket.io/socket.io.js" defer></script>
<script src="bs.js" defer></script>
<link rel="stylesheet" href="bs.css">
</head>
<body>
<h1>Battleship</h1>
<div id="sea">
<div class="player">
<h2 class="name">Plyer 1</h2>
<div class="player-grid" id="player1-grid"></div>
</div>
<div class="player">
<h2 class="name">Plyer 2</h2>
<div class="player-grid" id="player2-grid"></div>
</div>
</div>
</body>
</html>