-
Notifications
You must be signed in to change notification settings - Fork 0
/
seafight.html
113 lines (78 loc) · 1.84 KB
/
seafight.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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script src="js/seafight.js"></script>
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" href="css/seafight.css" />
</head>
<body>
<!-- MENU STARTED -->
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<a class="brand" href="#">JCH</a>
<ul class="nav">
<li class="active">
<a href="seafight.html">Start</a>
</li>
<li><a href="seafightabout.html">About</a></li>
</ul>
</div>
</div>
</div>
<!-- MENU END -->
<div class="container">
<div id="show-start" class="hide">
<h1>Sea Fight</h1>
</div>
<br/>
<form id="game-params" class="well">
<div class="row-fluid">
<div class="span12">
<h3>Number of players</h3>
<select id="Number" class="span1">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</optionon>
</select>
<div class="row-fluid">
<div class="span6">
<h3>Number of boxes in Width:</h3>
<select id="boxes-Width" class="span1">
<option>3</option>
<option>4</option>
<option>5</option>
<option>6</option>
<option>7</option>
<option>8</option>
<option>9</option>
<option>10</option>
</select>
</div>
<div class="span6">
<h3>Number of boxes in Height:</h3>
<select id="boxes-Height" class="span1">
<option>3</option>
<option>4</option>
<option>5</option>
<option>6</option>
<option>7</option>
<option>8</option>
<option>9</option>
<option>10</option>
</select>
</div>
</div>
</div>
<br/>
<button id="start" class="btn btn-primary btn-large">Start the game!</button>
</div>
</form>
<h4 class="hide" id="show-1">hello</h4>
<div id="board"></div>
<canvas id="myCanvas4"></canvas>
</div>
</body>
</html>