Thank you I really like this game
Show HN: Kuboble.com – Minimalistic sliding pieces puzzle game
131–140 of 158 posts
Re: Show HN: Kuboble.com – Minimalistic sliding pieces puzzle game
#132I'm interested in the process of creating the puzzles. What are the conceptual steps you go through to create them? Do you use some algorithmic process or it's all handcrafted?
Re: Show HN: Kuboble.com – Minimalistic sliding pieces puzzle game
#133I love it! Thank you for making it and sharing it. And kudos for pulling it off. I'm interested in the process of creating the puzzles. What are the conceptual steps you go through to create them? Do you use some algorithmic process or it's all handcrafted?
*Step 1: Level Generation*
Let's say I decide to generate 3-ball levels at 4x4 grid
I do `generate_all_boards(width: 4, height: 4,max_obstacles: 6)` and it will spit out all unique boards 4x4 with at most 6 tiles occupied by an obstacle with regards to all possible isoporphisms (rotations and mirrors)
4 4
....
....
....
....
4 4
X...
....
....
....
4 4
.X..
....
....
....
4 4
....
.X..
....
....
(...)
4 4
XX.X
...X
....
.X.X
Now on each board I decide the starting position (usually 3 balls in a row in a corner and some other choices if not possible) 4 4
ABC.
....
....
....
4 4
X...
....
....
ABC.
4 4
XX.X
A..X
B...
CX.X
Then for each level I start generating with BFS all possible positions reachable from this state. I have several complex heuristics to decide which of those positions makes the most interesting level.After trying a LOT of heuristics I have made two main conclusions:
- on board there is very often one main trick and any of the interesting final positions have solution based on the same trick and trying to make more levels from one geometry is in all cases I tried a logic duplication.
- the maximum movecount is good enough of a metric
so I take the maximum movecount position, whith some other tie-breakers I don't remember.
e.g.
FINAL POSITION: score:
Movecount: 13
A B C .
a . c .
. . . b
. . . .
Rinse and repeat and I have aproximately 40k levels in the current database.* Step 2 : Level Curation*
I have created a version of the game with all those 40k levels split by groups of geometry, number of balls and number of obstacles, and a button "random level in current group". And I started playing those random levels over and over and over. I added a small button "Rate this level" so that whenever I got a level I thought was interesting or some new motive has appeared I rated it as "Super".
In the end all the "Super" levels made it into final game.
Re: Show HN: Kuboble.com – Minimalistic sliding pieces puzzle game
#134I love it! Thank you for making it and sharing it. And kudos for pulling it off. I'm interested in the process of creating the puzzles. What are the conceptual steps you go through to create them? Do you use some algorithmic process or it's all handcrafted?
The process evolved and I have eventually settled with something like this: *Step 1: Level Generation* Let's say I decide to generate 3-ball levels at 4x4 grid I do `generate_all_boards(width: 4, height: 4,max_obstacles: 6)` and it will spit out all unique boards 4x4 with at most 6 tiles occupied by an obstacle with regards to all possible isoporphisms (rotations and mirrors) 4 4 .... .... .... .... 4 4 X... .... ...…
Re: Show HN: Kuboble.com – Minimalistic sliding pieces puzzle game
#135Earlier quoted context omitted.
It isn't solvable, I am willing to put money on it. Not proven rigorously, but mentally one can set up the balls in the final positions and run the puzzle in reverse. the rules change as they can only move orthogonal to a wall or ball they can "push" off, then you can see they can't end up in any configuration which is reachable in the start state, running the normal rules. Keen to hear if if I am wrong OP, but with…
=== Spoiler === I managed that one not too bad. The trick is putting the marker nearest the bottom against the bottom wall (playing it in high contrast mode that's the black one). Then shooting the other one around in a C-shape to get back into it's spot. Now 36 I can't get in 13 moves and I'm stumped!
Apart from that I really like this game- it's simple but challenging and looks good, too. I've played other similar ones but this one just nails it for me.
The only thing I would add would be a reset button - having to spam the undo button to get back to the start position is mildly annoying
Re: Show HN: Kuboble.com – Minimalistic sliding pieces puzzle game
#136Earlier quoted context omitted.
=== Spoiler === I managed that one not too bad. The trick is putting the marker nearest the bottom against the bottom wall (playing it in high contrast mode that's the black one). Then shooting the other one around in a C-shape to get back into it's spot. Now 36 I can't get in 13 moves and I'm stumped!
That doesn't seem like the solution. Are you sure you're talking about level 38? It's starting to seem impossible to me, too, even with your spoiler :( Apart from that I really like this game- it's simple but challenging and looks good, too. I've played other similar ones but this one just nails it for me. The only thing I would add would be a reset button - having to spam the undo button to get back to the start pos…
Re: Show HN: Kuboble.com – Minimalistic sliding pieces puzzle game
#137Earlier quoted context omitted.
=== Spoiler === I managed that one not too bad. The trick is putting the marker nearest the bottom against the bottom wall (playing it in high contrast mode that's the black one). Then shooting the other one around in a C-shape to get back into it's spot. Now 36 I can't get in 13 moves and I'm stumped!
That doesn't seem like the solution. Are you sure you're talking about level 38? It's starting to seem impossible to me, too, even with your spoiler :( Apart from that I really like this game- it's simple but challenging and looks good, too. I've played other similar ones but this one just nails it for me. The only thing I would add would be a reset button - having to spam the undo button to get back to the start pos…
Re: Show HN: Kuboble.com – Minimalistic sliding pieces puzzle game
#138Earlier quoted context omitted.
=== Spoiler === I managed that one not too bad. The trick is putting the marker nearest the bottom against the bottom wall (playing it in high contrast mode that's the black one). Then shooting the other one around in a C-shape to get back into it's spot. Now 36 I can't get in 13 moves and I'm stumped!
That doesn't seem like the solution. Are you sure you're talking about level 38? It's starting to seem impossible to me, too, even with your spoiler :( Apart from that I really like this game- it's simple but challenging and looks good, too. I've played other similar ones but this one just nails it for me. The only thing I would add would be a reset button - having to spam the undo button to get back to the start pos…
https://pasteboard.co/E9w43hwrvRwU.jpg
From there:
White right White up White left Black up
Re: Show HN: Kuboble.com – Minimalistic sliding pieces puzzle game
#139Earlier quoted context omitted.
That doesn't seem like the solution. Are you sure you're talking about level 38? It's starting to seem impossible to me, too, even with your spoiler :( Apart from that I really like this game- it's simple but challenging and looks good, too. I've played other similar ones but this one just nails it for me. The only thing I would add would be a reset button - having to spam the undo button to get back to the start pos…
We know it takes 17 moves, so the setup for the solution is complicated. I can't solve it either, and the spoiler doesn't tell me anything I hadn't already inferred...
Green: up
orange: left - up - right
green: down - left - up - right - up - right
orange: down
green: down - right
orange: up - left - down
green: left
Re: Show HN: Kuboble.com – Minimalistic sliding pieces puzzle game
#140Earlier quoted context omitted.
We know it takes 17 moves, so the setup for the solution is complicated. I can't solve it either, and the spoiler doesn't tell me anything I hadn't already inferred...
---- explicit spoiler ------ Green: up orange: left - up - right green: down - left - up - right - up - right orange: down green: down - right orange: up - left - down green: left