You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.2 KiB
35 lines
1.2 KiB
<!doctype html>
|
|
<html lang="fr">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<link rel="stylesheet" href="assets/style.css" />
|
|
<title>Maettleship</title>
|
|
</head>
|
|
<body>
|
|
<div id="loader">
|
|
<button class="btn-primary" id="start" type="submit">
|
|
Create private room
|
|
</button>
|
|
|
|
<button class="btn-primary" id="join" type="submit">
|
|
Join room
|
|
</button>
|
|
</div>
|
|
|
|
<div class="hidden-element" id="game">
|
|
<canvas id="own_board" width="400" height="400"></canvas>
|
|
<canvas id="ennemy_board" width="400" height="400"></canvas>
|
|
</div>
|
|
|
|
<h2 class="hidden-element" id="play_notification">You have to play</h2>
|
|
<h2 class="hidden-element" id="hit_notification">Hit !</h2>
|
|
<h2 class="hidden-element" id="win_notification">WIN !</h2>
|
|
|
|
<script src="/socket.io/socket.io.js"></script>
|
|
<script type="module" src="scripts/game.js"></script>
|
|
<script type="module" src="scripts/index.js"></script>
|
|
</body>
|
|
</html>
|