A brand new game
for Windows, Linux, Mac, HTML5, 3DS Homebrew and more
Late Night Code Session
21st July, 2019
As I was drifting off to sleep, my mind was racing for a decent Foldapuz concept for the week.
I thought about cards, and considered a grid of 5x5 cards.
The idea seemed ideal.
A grid of 5x5 cards, each row and column adding up to 21, and no more than a single deck of cards to fill it in.
I sat up, grabbed the laptop, and started formulating the methods to generate such a grid.
I wrote about 3 or 4 different ways to generate the 5x5 grid, but the best I was generating was one puzzle every 5 minutes, and that's really not good enough for Foldapuz.
Instead, then, I scaled back, and went for a 3x3 grid.
This was MUCH quicker to generate, and I left the BlitzMax generator running for about 20 minutes, at which point it'd made over 1,500 layouts.
Tomorrow I'll take those layouts and remove a random set of cards for each puzzle, switching up the suits as I go, resulting in a hopefully random-enough series of puzzles.
I'm also considering rewriting the puzzle mechanic to go into Shoebox, as it seems rather fitting that it would be in there, too.