A brand new game
for Windows, Linux, Mac, HTML5, 3DS Homebrew and more
every week,
unless exhausted!
About Games Tools Music Pixelart Poetry Home Patreon Scores JNKPlat Petit Switch
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.


"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 26, Upvotes 2
Foldapuz , Shoebox
Site credits : Site built from the ground up, in php, using Programmer's Notepad 2, and a very bored Jayenkai.
(c) Jayenkai 2017 and onwards. RSS feed
Blog - Late Night Code Session - AGameAWeek