-
Notifications
You must be signed in to change notification settings - Fork 0
/
battleship.html
35 lines (35 loc) · 1.24 KB
/
battleship.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
<!doctype html>
<html>
<head>
<title>Battleship</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<link rel="stylesheet" href="battleship.css" type="text/css" />
<script type="text/javascript" src="jquery-3.6.1.slim.min.js"></script>
<script type="text/javascript" src="raphael-min.js"></script>
<script type="text/javascript" src="battleship.js"></script>
</head>
<body>
<div id="header">
<h1>Battleship</h1>
</div>
<div id="game">
</div>
<div id="state-selector">
<label><input type="radio" name="state" value="ships" />Ships</label><br />
<label><input type="radio" name="state" value="pegs" />Pegs</label>
</div>
<div id="footer">
<h3>Instructions</h3>
<ul>
<li>Use the radio buttons to switch between placing ships and placing pegs</li>
<li>When placing ships, double click on them to rotate</li>
<li>Battleship is best played using two laptops to provide the full retro-battleship effect</li>
</ul>
<h3>Authors</h3>
<ul>
<li>Marshall Scorcio <marshallscorcio at gmail dot com></li>
<li>Marcus DuFrane <marcusdufrane at gmail dot com></li>
</ul>
</div>
</body>
</html>