Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
1c88b00
enable running the workflow from the web UI
matey-jack Jan 22, 2026
20396be
update `package-lock.json`
matey-jack Jan 22, 2026
eb3a4ec
fix title
matey-jack Jan 23, 2026
13b5921
WIP: start adding pictures
matey-jack Jan 23, 2026
d1d57bb
first working version with pictures.
matey-jack Jan 23, 2026
ee04412
WIP: supporting non-uniform rows and colums in the sprite sheet
matey-jack Jan 23, 2026
070dbfe
make cards uniform size, so that nothing shifts when the image change…
matey-jack Jan 23, 2026
7576d54
fix image cropping caused by automatic resizing due to the padding.
matey-jack Jan 23, 2026
d0c00a9
WIP: Codex' version of the winning animation
matey-jack Jan 23, 2026
fb9ecdf
WIP: dev code for winning animation
matey-jack Jan 23, 2026
8bf82d2
finish winning animation
matey-jack Jan 23, 2026
26c3af0
always mention x/col/width first, as a memory aid, because they are t…
matey-jack Jan 23, 2026
cfb2116
add another set of pictures.
matey-jack Jan 23, 2026
11b6ce1
prepare for making the number of cards selectable.
matey-jack Jan 23, 2026
94c2e83
first draft of numCards selection.
matey-jack Jan 23, 2026
fd439d8
Acceptable version of numCards selection.
matey-jack Jan 23, 2026
913406a
fix misclicks leading to drags and text selection.
matey-jack Jan 23, 2026
a2faf00
Codex improved its own code.
matey-jack Jan 23, 2026
d8dac15
Start with 8 cards, so sheep will be used.
matey-jack Jan 23, 2026
f71e10d
Add flowers!
matey-jack Jan 24, 2026
ba23a50
Use flower words when flowers are promised by the numCards selector.
matey-jack Jan 24, 2026
bc44b4c
I prefer Daisy as a name for the Gerbera.
matey-jack Jan 24, 2026
4edbc6f
Refactor PictureSet to a class.
matey-jack Jan 24, 2026
006d37f
Bigger text cards.
matey-jack Jan 24, 2026
68a53d9
Wrap cards to make the grid roughly square. And wrap a little tighter…
matey-jack Jan 24, 2026
a172b76
WIP: Vite PWA as created by amp.
matey-jack Jan 24, 2026
60c0130
precache the sprite sheets for offline play.
matey-jack Jan 25, 2026
23a8e77
add Readme.md
matey-jack Jan 25, 2026
2e64e75
remove unused files to save PWA install size.
matey-jack Jan 25, 2026
db462c0
Add sheep to Readme.md
matey-jack Jan 25, 2026
c89a007
use simpler flower names.
matey-jack Jan 25, 2026
8db6102
Add PWA update handling.
matey-jack Jan 26, 2026
1b5377e
Properly count the sheep.
matey-jack Jan 26, 2026
d1d9181
Store numCards in the URL.
matey-jack Jan 29, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Build and Deploy
on:
push:
branches: [main]
workflow_dispatch:

permissions:
contents: read
Expand Down
7 changes: 7 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

![Train your brain with my new game.](sheep-ad.png)

Made with love, Amp Code, and a few other AI tools.

For documentation, see `package.json` or ask your favorite coding agent to explain.

11 changes: 7 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,17 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + Preact + TS</title>
<meta name="theme-color" content="#ffffff" />
<meta name="description" content="A fun memory card matching game" />
<link rel="manifest" href="/memory-game/manifest.webmanifest" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<link rel="apple-touch-icon" href="/pwa-192x192.png" />
<title>My Little Memory Game</title>
</head>
<body>
<h1 class="main-header">Memory Game</h1>
<div id="app">


</div>
<script type="module" src="/src/main.tsx"></script>
</body>
Expand Down
Loading