New games every week!
Late Night Code Session Blog
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.

-=-=-

"Pontoon Grid"
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.

We'll see.
Views 126, Upvotes 20  
Foldapuz , Shoebox
New games every week!
Site credits : This was all done by Jayenkai
(c) Jayenkai 2023 and onwards, RSS feed 85

Blog - Late Night Code Session - AGameAWeek