Log In  

Cart #dailycalpuz-0 | 2022-05-04 | Code ▽ | Embed ▽ | No License
6

Here's Dailycalpuz!

Each day a new puzzle. Fit all pieces into the calendar to leave the current date showing.

P#111297 2022-05-04 20:31

1

I'm not entirely sure this is possible every time, @troske007. I think you need to add an option for "HINT" or "SOLVE" inside the code to show that the puzzle is indeed solvable each time and for every day.

P#111304 2022-05-04 22:05

In my implementation, where the pieces can be flipped, all days can be solved @dw817.

P#111314 2022-05-05 08:24

Here now then, @troske. Could you please post a Pico-8 animated GIF video showing the solution for any day ?

P#111343 2022-05-05 17:30

Here's a solution for today @dw817.

P#111348 2022-05-05 19:11

Oh my gosh, @troske007.

Not once did you make a mistake. Wow ! I guess I'm no good at these kinds of games. Nonetheless ! Gold star work, not just your code but your superb solution.

Well done !

P#111362 2022-05-05 23:04

@troske007 I'm curious - what does the proof that all possible days have a solution look like? Is it just a possible solution for each month/day/day of week combination, or is there something more compact than that?

(To be clear, I'm not doubting that a proof exists, I'm just wondering whether it's pure enumeration of cases or something else.)

P#111368 2022-05-06 00:45 ( Edited 2022-05-06 15:46)
1

Thanks @dw817 !

Honestly, I had another pico-8 instance opened with the solution already loaded to make a smooth video :)

@luchak, I used this C++ solver to generate all solutions. I changed it a bit to output a single solution string for each MM/DD/Weekday.

Maybe in a next version I will implement a hint system (start with 'n' pieces already shown). But then I need a way to store/compress 366x7x50=128100 chars.

P#111378 2022-05-06 09:59

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2022-11-26 22:34:07 | 0.052s | Q:28