Commit graph

14 commits

Author SHA1 Message Date
Olivier Goffart
0a1c9aa206 Fix the aspect ratio of images by keeping them square 2020-12-08 16:40:17 +01:00
Olivier Goffart
132ed8155d Respect the aspect ratio in the memory game 2020-12-08 16:37:20 +01:00
Olivier Goffart
dbd27f150d Memory: color scheme and size 2020-12-08 14:57:10 +01:00
Simon Hausmann
f77bdffc38 Prospective fix for aspect ratio preservation for the icons 2020-12-08 14:25:53 +01:00
Simon Hausmann
82d6a679f5 Show a different color for solved tiles 2020-12-08 13:40:29 +01:00
Olivier Goffart
2e5007da32 memory: fix the file name in the index.html 2020-12-08 13:24:48 +01:00
Olivier Goffart
d8680c33d0 Port more wasm example to the simplified wasm 2020-12-08 13:01:02 +01:00
Simon Hausmann
199ae5f9d3 Simplify wasm startup
It is not necessary to call main because it's marked to be called on "startup".
2020-12-08 12:18:52 +01:00
Simon Hausmann
39b8691819 Switch to generating the SVG icons using rsvg-convert
The npm package is not maintained anymore and does not support newer
font-awesome versions with additional icons.
2020-12-08 12:03:51 +01:00
Olivier Goffart
91dcf00897 Memory: Ssmall design change
- Add some padding
 - Better colors
 - rounded corners
2020-12-08 11:59:47 +01:00
Simon Hausmann
9ac4cd851b Open the memory tile from the center 2020-12-08 11:35:08 +01:00
Simon Hausmann
e602bc603a A wasm port for the memory puzzle without npm and webpack 2020-12-08 11:15:54 +01:00
Simon Hausmann
d471ed566f Fix tile positioning inside the window
Don't start at (0, 0) - leave some space
2020-12-08 10:39:26 +01:00
Simon Hausmann
574d17e698 Initial version of a small memory game
This is intended to form the basis for a tutorial.
2020-12-08 09:58:53 +01:00