8 ms·
The file to look at would be this Tile component: https://github.com/gereleth/hexapipes/blob/main/src/lib/puzzle/Tile.svelte https://github.com/gereleth/hexapip
by gereleth 4y ago
The file to look at would be this Tile component: https://github.com/gereleth/hexapipes/blob/main/src/lib/puzzle/Tile.svelte https://github.com/gereleth/hexapipes/blob/main/src/lib/puzz...
My svg handling was very much "learn as I go". An earlier version even had circles instead of hexagons because they're simpler to do. There's a cool playthrough video of that version: https://www.youtube.com/watch?v=vlpPr485NUY https://www.youtube.com/watch?v=vlpPr485NUY