3 ms·
Recently, my fiancée is into Christmas a lot, so I set out to build an advent calendar. She likes jigsaw so I printed a photo of us from back when we met on a
by lloeki 6y ago
Recently, my fiancée is into Christmas a lot, so I set out to build an advent calendar.
She likes jigsaw so I printed a photo of us from back when we met on a generated multiple-of-24 piece jigsaw pattern to cut.
But that was a bit too simple. She enjoyed playing Human Resource Machine which was the closest she ever got to programming.
So on the back, I printed IOCCC-style Ruby code shaped in the form of a Christmas tree. With the pieces cut out and jumbled, you’d have no idea what the code would look like without solving the front side.
Once solved, when typed and run, it would reveal an URL to a XKCD-style drawing I made for the occasion.
It was tough to make code not too short nor too long, not too complex nor obvious, and able to survive the jigsaw cutting! Anyway, she enjoyed it through and through.
A quick extra en passant, a bash one liner I quickly banged out some years ago: https://github.com/lloeki/toolbelt/blob/master/hearts https://github.com/lloeki/toolbelt/blob/master/hearts