-
Notifications
You must be signed in to change notification settings - Fork 0
/
kids-games.html
243 lines (221 loc) · 11.8 KB
/
kids-games.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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="manifest" href="/manifest.json" />
<link rel="icon" href="/images/icons/icon-152x152.png" />
<!-- theme-color defines the top bar color-->
<meta name="theme-color" content="#575757" />
<meta
http-equiv="X-Content-Security-Policy"
content="default-src 'self'; script-src 'report-sample' 'self' https://app.posthog.com/static/array.js https://www.googletagmanager.com/gtag/js; style-src 'report-sample' 'self' https://fonts.googleapis.com; object-src 'none'; base-uri 'self'; connect-src 'self' https://app.posthog.com; font-src 'self'; frame-src 'self'; img-src 'self'; manifest-src 'self'; media-src 'self'; report-uri https://pauldambra.report-uri.com/r/d/csp/enforce; worker-src 'self';"
/>
<!-- Add to home screen for Safari on iOS-->
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
<meta name="apple-mobile-web-app-title" content="MiRaNo" />
<link rel="apple-touch-icon" href="/images/icons/icon-152x152.png" />
<!-- Add to home screen for Windows-->
<meta
name="msapplication-TileImage"
content="/images/icons/icon-152x152.png"
/>
<meta name="msapplication-TileColor" content="#575757" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title>Mindless Rambling Nonsense - kids games</title>
<link rel="canonical" href="https://pauldambra.dev/kids-games.html" />
<meta property="og:url" content="https://pauldambra.dev/kids-games.html" />
<meta property="og:type" content="article" />
<meta property="og:title" content="Mindless Rambling Nonsense - kids games" />
<meta
property="og:description"
content="a blog about software engineering"
/>
<meta
property="og:image"
content="https://pauldambra.dev/images/cardboard.jpg"
/>
<meta name="twitter:creator" content="@pauldambra" />
<meta property="fb:app_id" content="1029758320473951" />
<meta name="viewport" content="width=device-width" />
<meta
name="description"
content="a blog about software engineering"
/>
<meta property="fb:pages" content="1029758320473951" />
<link
rel="alternate"
type="application/rss+xml"
title="Mindless Rambling Nonsense"
href="https://pauldambra.dev/feed.xml"
/>
<link rel="shortcut icon" href="/favicon.ico" />
<link rel="prefetch" href="/images/cardboard.jpg" />
<link rel="stylesheet" href="/assets/css/main.css">
<link rel="stylesheet" href="/assets/css/syntax.css">
<meta name="msvalidate.01" content="54691C3C7B863CEE60F0305D6EDFF7A8" />
<meta
name="google-site-verification"
content="hLKEdujpXNQ9PSZWEcQkwxCgL2z1tWxVedeaUmttH7c"
/>
<script>
!function (t, e) { var o, n, p, r; e.__SV || (window.posthog = e, e._i = [], e.init = function (i, s, a) { function g(t, e) { var o = e.split("."); 2 == o.length && (t = t[o[0]], e = o[1]), t[e] = function () { t.push([e].concat(Array.prototype.slice.call(arguments, 0))) } } (p = t.createElement("script")).type = "text/javascript", p.crossOrigin = "anonymous", p.async = !0, p.src = s.api_host.replace(".i.posthog.com", "-assets.i.posthog.com") + "/static/array.js", (r = t.getElementsByTagName("script")[0]).parentNode.insertBefore(p, r); var u = e; for (void 0 !== a ? u = e[a] = [] : a = "posthog", u.people = u.people || [], u.toString = function (t) { var e = "posthog"; return "posthog" !== a && (e += "." + a), t || (e += " (stub)"), e }, u.people.toString = function () { return u.toString(1) + ".people (stub)" }, o = "init capture register register_once register_for_session unregister unregister_for_session getFeatureFlag getFeatureFlagPayload isFeatureEnabled reloadFeatureFlags updateEarlyAccessFeatureEnrollment getEarlyAccessFeatures on onFeatureFlags onSessionId getSurveys getActiveMatchingSurveys renderSurvey canRenderSurvey getNextSurveyStep identify setPersonProperties group resetGroups setPersonPropertiesForFlags resetPersonPropertiesForFlags setGroupPropertiesForFlags resetGroupPropertiesForFlags reset get_distinct_id getGroups get_session_id get_session_replay_url alias set_config startSessionRecording stopSessionRecording sessionRecordingStarted captureException loadToolbar get_property getSessionProperty createPersonProfile opt_in_capturing opt_out_capturing has_opted_in_capturing has_opted_out_capturing clear_opt_in_out_capturing debug".split(" "), n = 0; n < o.length; n++)g(u, o[n]); e._i.push([i, s, a]) }, e.__SV = 1) }(document, window.posthog || []);
posthog.init('phc_CyORxxMD8FwSkomKWY9bExXaiJFX3JkSN2sw1mzu8bx', {
api_host: 'https://us.i.posthog.com',
loaded: (ph) => {
let checkInterval
ph.onSessionId((sessionId) => {
clearInterval(checkInterval)
checkInterval = setInterval(() => {
const sessionData = ph.persistence?.props['$sesid']
if (Array.isArray(sessionData) && sessionData.length > 0) {
const lastActivityTimestamp = sessionData[0]
const sinceLastActivity = Math.abs(new Date().getTime() - lastActivityTimestamp)
const fiveMinutesInMillis = 5 * 60 * 1000
if (sinceLastActivity > fiveMinutesInMillis) {
ph.capture('session_idle_for_five_minutes', {
sessionURL: ph.get_session_replay_url({ withTimestamp: true }),
idleSessionId: ph.get_session_id(),
})
clearInterval(checkInterval)
}
}
}, 5000)
})
}
})
</script>
</head>
<body class="flex flex-col h-screen">
<header class="flex flex-col px-8 pt-4 text-white text-xl" role="banner">
<div class="flex flex-col sm:flex-row">
<div class="no-underline hover:underline">
<a href="/">Mindless Rambling Nonsense</a>
</div>
<div class="flex-grow my-2 sm:m-0"></div>
<div class="flex justify-start items-end flex-col text-sm">
<div class="flex items-center">
<div class="mr-4">Paul D'Ambra</div>
<a href="https://github.com/pauldambra" rel="noopener">
<img
src="/images/GitHub-Mark-Light-32px.png"
alt="pauldambra on github"
width="32"
height="32"
/>
</a>
</div>
<div class="flex items-center">
<div class="mr-4">Fangler</div>
<a href="https://twitter.com/pauldambra" rel="noopener">
<img
src="/images/twitter-32.png"
alt="pauldambra on twitter"
width="32"
height="32"
/>
</a>
</div>
<div class="flex items-center">
<div class="mr-4"></div>
<a rel="me" href="https://mastodon.me.uk/@pauldambra">
</a>
</div>
</div>
</div>
<div class="flex-grow"></div>
<div
class="flex align-middle items-start px-2 py-4 text-white space-x-4 text-lg"
>
<nav role="navigation">
<a class="underline" href="/">Blog Posts</a>
<a class="underline ml-5" href="/weeknotes.html">Week Notes</a>
<a class="underline ml-5" href="/kids-games.html">Kids games</a>
</nav>
</div>
</header>
<main role="main" class="bg-white p-4 w-11/12 m-auto flex-auto flex-grow">
<h1>Games I've made for my kids over the years</h1>
<p>It turns out they are motivated by being rewarded with a random cat gif</p>
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-2">
<div class="border rounded px-1.5 py-1 flex flex-col space-y-2 items-center">
<h1 class="uppercase">namey-numbers</h1>
<div class="flex flex-row space-x-2">
<a target="_blank" href="https://pauldambra.dev/namey-numbers/" class="bg-slate-900 hover:bg-slate-600 text-white font-bold py-2 px-4 rounded">Play</a>
<a target="_blank" href="https://github.com/pauldambra/namey-numbers/" class="bg-slate-900 hover:bg-slate-600 text-white font-bold py-2 px-4 rounded">See the code</a>
</div>
<div class="flex-grow"></div>
<div>
<img src="/images/kids-games/namey-numbers.gif" alt="gif of the game: namey-numbers" />
</div>
</div>
<div class="border rounded px-1.5 py-1 flex flex-col space-y-2 items-center">
<h1 class="uppercase">clocky-mc-face</h1>
<div class="flex flex-row space-x-2">
<a target="_blank" href="https://pauldambra.dev/clocky-mc-face/" class="bg-slate-900 hover:bg-slate-600 text-white font-bold py-2 px-4 rounded">Play</a>
<a target="_blank" href="https://github.com/pauldambra/clocky-mc-face/" class="bg-slate-900 hover:bg-slate-600 text-white font-bold py-2 px-4 rounded">See the code</a>
</div>
<div class="flex-grow"></div>
<div>
<img src="/images/kids-games/clocky-mc-face.gif" alt="gif of the game: clocky-mc-face" />
</div>
</div>
<div class="border rounded px-1.5 py-1 flex flex-col space-y-2 items-center">
<h1 class="uppercase">get-to-1000</h1>
<div class="flex flex-row space-x-2">
<a target="_blank" href="https://pauldambra.dev/get-to-1000/" class="bg-slate-900 hover:bg-slate-600 text-white font-bold py-2 px-4 rounded">Play</a>
<a target="_blank" href="https://github.com/pauldambra/get-to-1000/" class="bg-slate-900 hover:bg-slate-600 text-white font-bold py-2 px-4 rounded">See the code</a>
</div>
<div class="flex-grow"></div>
<div>
<img src="/images/kids-games/get-to-1000.gif" alt="gif of the game: get-to-1000" />
</div>
</div>
<div class="border rounded px-1.5 py-1 flex flex-col space-y-2 items-center">
<h1 class="uppercase">round-it</h1>
<div class="flex flex-row space-x-2">
<a target="_blank" href="https://pauldambra.dev/round-it/" class="bg-slate-900 hover:bg-slate-600 text-white font-bold py-2 px-4 rounded">Play</a>
<a target="_blank" href="https://github.com/pauldambra/round-it/" class="bg-slate-900 hover:bg-slate-600 text-white font-bold py-2 px-4 rounded">See the code</a>
</div>
<div class="flex-grow"></div>
<div>
<img src="/images/kids-games/round-it.gif" alt="gif of the game: round-it" />
</div>
</div>
<div class="border rounded px-1.5 py-1 flex flex-col space-y-2 items-center">
<h1 class="uppercase">readerer</h1>
<div class="flex flex-row space-x-2">
<a target="_blank" href="https://pauldambra.dev/readerer/" class="bg-slate-900 hover:bg-slate-600 text-white font-bold py-2 px-4 rounded">Play</a>
<a target="_blank" href="https://github.com/pauldambra/readerer/" class="bg-slate-900 hover:bg-slate-600 text-white font-bold py-2 px-4 rounded">See the code</a>
</div>
<div class="flex-grow"></div>
<div>
<img src="/images/kids-games/readerer.gif" alt="gif of the game: readerer" />
</div>
</div>
<div class="border rounded px-1.5 py-1 flex flex-col space-y-2 items-center">
<h1 class="uppercase">cry-me-a-colour</h1>
<div class="flex flex-row space-x-2">
<a target="_blank" href="https://pauldambra.dev/cry-me-a-colour/" class="bg-slate-900 hover:bg-slate-600 text-white font-bold py-2 px-4 rounded">Play</a>
<a target="_blank" href="https://github.com/pauldambra/cry-me-a-colour/" class="bg-slate-900 hover:bg-slate-600 text-white font-bold py-2 px-4 rounded">See the code</a>
</div>
<div class="flex-grow"></div>
<div>
<img src="/images/kids-games/cry-me-a-colour.gif" alt="gif of the game: cry-me-a-colour" />
</div>
</div>
<div>
</main>
<footer class="w-full h-4 bg-black text-white py-8 px-4">
<a class="no-underline text-white" href="https://pauldambra.dev/feed.xml">
<img class="inline w-6 h-6" src="/images/rss.svg" alt="the rss feed" />
<span>Subscribe to RSS feed</span>
</a>
</footer>
<script defer src="/register-service-worker.js"></script>
<link
href="https://fonts.googleapis.com/css?family=Khula&display=swap"
rel="stylesheet"
/>
</body>
</html>