-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
89 lines (81 loc) · 3.1 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>Battleships</title>
<script type="text/javascript" src="scripts/app.js"></script>
<link rel="stylesheet" href="styles/main.css">
<link href="https://fonts.googleapis.com/css?family=Anton&display=swap" rel="stylesheet">
</head>
<body>
<header>
<h1>Battleship</h1>
<div class="guide">
</div>
</header>
<main>
<div class="game-selection grid">
<form id="startGameMenu">
<div class="nameSelection">
<label for="name">Player"s Name:</label>
<input type="text" name="name" id="name" pattern="[A-Za-z]{1,8}" title="Max 8 characters, no numbers" required>
</div>
<div class="radio-country">
<input type="radio" id="radio-scotland" name="country" value="Scotland" checked="checked">
<label for="radio-scotland">Scotland</label>
<input type="radio" id="radio-england" name="country" value="England">
<label for="radio-england">England</label>
<input type="radio" id="radio-australia" name="country" value="Australia">
<label for="radio-australia">Australia</label>
<input type="radio" id="radio-usa" name="country" value="USA">
<label for="radio-usa">USA</label>
</div>
<div class="radio-gameSpeed">
<input type="radio" id="radio-eight" name="gameSpeed" value="8" checked="checked">
<label for="radio-eight">8 * 8</label>
<input type="radio" id="radio-ten" name="gameSpeed" value="10">
<label for="radio-ten">10 * 10</label>
<input type="radio" id="radio-twelve" name="gameSpeed" value="12">
<label for="radio-twelve">12 * 12</label>
</div>
<input type="submit" value="Begin Game"></submit>
</form>
<form id="soundForm">
<input type="checkbox" id="sound" name="sound" value="Sound">
<label for="sound" class="soundLabel">Play Sounds</label>
</form>
<form class="colorSelector">
<div>
<input type="color" name="carrier" id="carrier" value="#cc4444">
<label for="carrier">Carrier</label>
</div>
<div>
<input type="color" name="battleship" id="battleship" value="#4444cc">
<label for="battleship">Battleship</label>
</div>
<div>
<input type="color" name="cruiser" id="cruiser" value="#cc8844">
<label for="cruiser">Cruiser</label>
</div>
<div>
<input type="color" name="submarine" id="submarine" value="#44cc44">
<label for="submarine">Submarine</label>
</div>
<div>
<input type="color" name="destroyer" id="destroyer" value="#cc44cc">
<label for="destroyer">Destroyer</label>
</div>
</form>
</div>
<div class="grid-competitor grid hidden">
</div>
<div class="grid-player grid hidden">
</div>
<div class="player-selection hidden">
</div>
</main>
<footer>
<a href="https://git.generalassemb.ly/jaymagrob">Game by John</a>
</footer>
</body>
</html>