I want to do something a little bit different this year.
In 2024 and 2025, I did the puzzles in Python. As Python is a language I'm very comfortable with, my process was heavily code-focused. Meaning: as soon as I got a vague idea of what a solution could look like, I started coding, and built the solution from the code.
This is a reasonably efficient way to quickly solve the puzzles (most of the time), but it got a little bit boring. Last year, I went back to the 2015 edition and solved it in C, a language which I never used professionally and generally suck at. I had a lot more fun, and learned a lot, but most of my time was now spent debugging C issues rather than thinking about the algorithm and the puzzle itself.
So this year I want to be puzzle-focused. I want to really think things through, and only use code if it's absolutely necessary. Essentially, to use the computer to compute, not to solve.
We'll see how that goes.
So here are my self-imposed rules for this year's edition:
- Solve the puzzle with pen & paper (or notepad) as much as possible.
- Solve my puzzle, don't try to generalize to every possible input as I usually try to do.
- If code is used to solve the puzzle, use it as sparsely as possible, on well-defined tasks, and in support of a well-defined algorithm.
- Additional code may be written for illustrative or creative purpose in the process. This is supposed to be fun, after all.
- Take as much time as I want or need per puzzle.
- If those rules get boring or this year's challenge don't fit well with this approach, change the rules. Who cares? They're mine anyway.