-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathindex.html
146 lines (140 loc) · 3.46 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
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
<!DOCTYPE html>
<html>
<head>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<title>Beaver Games</title>
<link rel="stylesheet" href="common/style.css">
<script src="common/utils.js"></script>
<script>
function init() {
fixLinks();
}
window.addEventListener('load', init);
</script>
<style>
header {
text-align: center;
}
table {
margin: auto;
}
th {
padding: 2em 1em;
}
td {
width: 20%;
}
td>div {
font-weight: bold;
}
td>div>a {
text-decoration: none;
}
a>img:hover {
opacity: 0.8;
}
</style>
</head>
<body>
<header>
<h1>Beaver Games</h1>
<p><i>Simple games for young children.</i></p>
</header>
<table>
<tr>
<th>
<a href="repeat/"><img src="repeat/icon.png" width="100"></a>
</th>
<td>
<div><a href="repeat/">Repeat</a></div>
<p>Remember a pattern.</p>
</td>
<th>
<a href="ttt/"><img src="ttt/icon.png" width="100"></a>
</th>
<td>
<div><a href="ttt/">Tic Tac Toe</a></div>
<p>Three in a row.</p>
</td>
<th>
<a href="maze/"><img src="maze/icon.png" width="100"></a>
</th>
<td>
<div><a href="maze/">Maze</a></div>
<p>Solve mazes.</p>
</td>
</tr>
<tr>
<th>
<a href="snake/"><img src="snake/icon.png" width="100"></a>
</th>
<td>
<div><a href="snake/">Snake</a></div>
<p>Grow your snake.</p>
</td>
<th>
<a href="dino/"><img src="dino/icon.png" width="100"></a>
</td>
<td>
<div><a href="dino/">Dino</a></div>
<p>Jump and duck.</p>
</td>
<th>
<a href="tank/"><img src="tank/icon.png" width="100"></a>
</th>
<td>
<div><a href="tank/">Tank</a></div>
<p>Tank driving in hexagons.</p>
</td>
</tr>
<tr>
<th>
<a href="connect/"><img src="connect/icon.png" width="100"></a>
</th>
<td>
<div><a href="connect/">Connect</a></div>
<p>Match numbers or letters.</p>
</td>
<th>
<a href="chain/"><img src="chain/icon.png" width="100"></a>
</th>
<td>
<div><a href="chain/">Chain Reaction</a></div>
<p>Growing instability.</p>
</td>
<th>
<a href="tetromino/"><img src="tetromino/icon.png" width="100"></a>
</th>
<td>
<div><a href="tetromino/">Tetromino</a></div>
<p>Fit shapes together.</p>
</td>
</tr>
<tr>
<th>
<a href="hanoi/"><img src="hanoi/icon.png" width="100"></a>
</th>
<td>
<div><a href="hanoi/">Tower of Hanoi</a></div>
<p>2<sup>n</sup> - 1 moves.</p>
</td>
<th>
<a href="shunting/"><img src="shunting/icon.png" width="100"></a>
</th>
<td>
<div><a href="shunting/">Inglenook Shunting</a></div>
<p>6720 logic puzzles.</p>
</td>
<th>
</th>
<td>
</td>
</tr>
</table>
<hr>
<p>
By <a href="https://neil.fraser.name/">Neil Fraser</a>.
All code is <a href="https://github.com/NeilFraser/beaver-games">open source</a>.
</p>
</body>
</html>