r/webdev • • 22m ago

Showoff Saturday Turtle Par – a daily puzzle where you program a LOGO turtle (static site, no backend, no accounts)

https://turtlepar.com/?ref=webdev

I built a daily puzzle around the LOGO turtle: everyone gets the same shape each day, and you draw it with blocks (FD, RT/LT, REPEAT, pen up/down) in as few blocks as you can. Every puzzle has a par.

Under the hood: Vite + Preact + an SVG board, hosted as a static site. Scores and streaks live in localStorage, and analytics are cookieless, through a small edge function on my own domain. The interesting bit was matching a drawing to the target: both are cut at every endpoint and compared piece by piece, so order, direction and retracing don't matter.

It's been live since 9 Nov, and players on Lemmy shaped a lot of it (an angle tool, "best run counts", an "Add before" button). Feedback on the first minute is welcome. https://turtlepar.com/?ref=webdev

1 Upvotes

1 comment sorted by

•

u/Possible_Writing1682 19m ago

a square a day, thrilling