-
Notifications
You must be signed in to change notification settings - Fork 2
/
puz107.html
121 lines (114 loc) · 4.71 KB
/
puz107.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
114
115
116
117
118
119
120
121
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>v1.07 Binary Puzzle 6x6</title>
<!-- Load CSS/JS files, link icon -->
<link href="CSS/puz107.css" rel="stylesheet">
<script src="JS/puz107.js"></script>
<link rel="icon" href="images/techEdIcon.png">
</head>
<body onload="loadGrid(G4)">
<!-- Load Array G4 -->
<form id="input">
<h1>v1.07 Binary Puzzle Game (6x6)</h1>
<h2>Create 2D array for easier row and column reference</h2>
<p>Return to <a href="index.html">home</a></p> <!-- Linking Home Page -->
<p> </p>
<!-- Naming convention B(1-6?Row)_(1-6?Col) -->
<table class="gameboard">
<tr>
<td>
<input id="B1_1" type="text" class="gameboard" /></td>
<td>
<input id="B1_2" type="text" class="gameboard" /></td>
<td>
<input id="B1_3" type="text" class="gameboard" /></td>
<td>
<input id="B1_4" type="text" class="gameboard" /></td>
<td>
<input id="B1_5" type="text" class="gameboard" /></td>
<td>
<input id="B1_6" type="text" class="gameboard" /></td>
</tr>
<tr>
<td>
<input id="B2_1" type="text" class="gameboard" /></td>
<td>
<input id="B2_2" type="text" class="gameboard" /></td>
<td>
<input id="B2_3" type="text" class="gameboard" /></td>
<td>
<input id="B2_4" type="text" class="gameboard" /></td>
<td>
<input id="B2_5" type="text" class="gameboard" /></td>
<td>
<input id="B2_6" type="text" class="gameboard" /></td>
</tr>
<tr>
<td>
<input id="B3_1" type="text" class="gameboard" /></td>
<td>
<input id="B3_2" type="text" class="gameboard" /></td>
<td>
<input id="B3_3" type="text" class="gameboard" /></td>
<td>
<input id="B3_4" type="text" class="gameboard" /></td>
<td>
<input id="B3_5" type="text" class="gameboard" /></td>
<td>
<input id="B3_6" type="text" class="gameboard" /></td>
</tr>
<tr>
<td>
<input id="B4_1" type="text" class="gameboard" /></td>
<td>
<input id="B4_2" type="text" class="gameboard" /></td>
<td>
<input id="B4_3" type="text" class="gameboard" /></td>
<td>
<input id="B4_4" type="text" class="gameboard" /></td>
<td>
<input id="B4_5" type="text" class="gameboard" /></td>
<td>
<input id="B4_6" type="text" class="gameboard" /></td>
</tr>
<tr>
<td>
<input id="B5_1" type="text" class="gameboard" /></td>
<td>
<input id="B5_2" type="text" class="gameboard" /></td>
<td>
<input id="B5_3" type="text" class="gameboard" /></td>
<td>
<input id="B5_4" type="text" class="gameboard" /></td>
<td>
<input id="B5_5" type="text" class="gameboard" /></td>
<td>
<input id="B5_6" type="text" class="gameboard" /></td>
</tr>
<tr>
<td>
<input id="B6_1" type="text" class="gameboard" /></td>
<td>
<input id="B6_2" type="text" class="gameboard" /></td>
<td>
<input id="B6_3" type="text" class="gameboard" /></td>
<td>
<input id="B6_4" type="text" class="gameboard" /></td>
<td>
<input id="B6_5" type="text" class="gameboard" /></td>
<td>
<input id="B6_6" type="text" class="gameboard" /></td>
</tr>
</table>
<br />
<p class="arrViewText">View of the 1D array:</p>
<textarea id="arrayView1D" cols="30" rows="5"></textarea><br /><br />
<p class="arrViewText">View of the 2D array:</p>
<textarea id="arrayView2D" cols="30" rows="6"></textarea><br /><br />
<p class="arrViewText">View of 1 element ([3][2]):</p>
<textarea id="arrayViewCell" cols="30" rows="2"></textarea>
</form>
</body>
</html>