Man, that reminds me that as a kid I coded the game of life into Excel with a bunch of nested IF statements. It was a small field, but still a lot of fun
I am not too familiar with Windows development in the 16-bit era, so I do not understand what Raiter means when he writes that he “de-Petzoldized” the code. I thought Petzold’s work on documenting the Windows API was foundational. Was it the style?
Yes, Petzold's examples used a certain style to illustrate the use of the Windows API as clearly as possible. Petzold programs would have a giant switch statement handling WndProc messages, state would be held in tons of global variables, and everything crammed in to one huge file. Great for showing a concept and demonstrating how something works, not so good for developing a maintainable, reliable piece of software.
Has anyone ever seen a version of the game of life that's actually a playable "game" - that's fun and not just an interesting simulation? I would love to try it.