Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It definitely would benefit from that, people like to have success. (And know who they can blame in case of failure)

The easiest solution is probably brute force, have it try all the potential moves and see if it solves the game and if it does, make it a valid seed. Can be pregenerated, but should be doable in real time, also from a smartphone.

Also, I think I was just blocked from my first clearing, because I could not access all blocks.

Rotating the view and angle would be quite nice, but depending on your implementation, not trivial.

Maybe I implement it with babylonjs or threejs these days, it is a fun game.



Thank you for your feedback!

Personally I am not sure if I like winning more than just combining the cubes together and moving onto the next seed if it can't solve the current one :)

Pre-generating seeds is a valid solution but since I don't want the game to make any network requests I don't think it would work for me. Brute forcing it makes me worried if it'd drain the battery.

I think I would rather add an opt-in (like a checkbox) option to make the game check fields for certain patterns that tell if a seed can't be solved and keep generating until there's a seed that passes that check. I think that way the game would still give you the occasional seed that can't be solved but statistically your chances would go up.

Regarding rotating the view, that would make it a different game and I'd like to keep it as it is. However, that sounds like it could be fun so please send me a link if you end up creating such a version! :)


Now I am interested to give it a try, because I really don't think brute forcing the solution would drain the battery. Likely it would be neglectible, compared to the power needed by the rendering.

Because there is a finite and small amount of legal steps, so it should not need too many iterations.

That is of course, if you only brute force the raw game logic. Simulating the steps with the UI would definitely drain the battery ;)

And yeah, if I get around to redo it in true 3D, I send you a link. I think if done right, it provides the same experience, just a bit more overview.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: