Earlier quoted context omitted.
There's no need to search all move sequences, because so many of them end up in the same game state (a game state is a combination of positions and orientations of arrows, with a cut off on positions because far away ones because don't affect whether there's a solution or not). Of the levels I saw (up to 31), the relevant board area was never more than 20x20 and there were never more than 4 arrows. So the state space…
I've written a solver that does exactly that here, it prunes positions whose blocks are too far outside the bounding rectangle: https://gist.github.com/Zimmux/c0fdb3ddad654b6b0ae2
Game about squares
101–110 of 208 posts
Re: Game about squares
#102The author is intentionally limiting this app to touch-only for touch-capable users. This breaks the game for anyone wanting to use a touchpad or mouse on their touchscreen laptop. The offending code (from http://gameaboutsquares.com/game.c.js , beautified): (function($) { try { document.createEvent("TouchEvent"); return; } catch (f) {} var eventMap = { mousedown : "touchstart", mouseup : "touchend", mousemove : "tou…
Re: Game about squares
#103The author is intentionally limiting this app to touch-only for touch-capable users. This breaks the game for anyone wanting to use a touchpad or mouse on their touchscreen laptop. The offending code (from http://gameaboutsquares.com/game.c.js , beautified): (function($) { try { document.createEvent("TouchEvent"); return; } catch (f) {} var eventMap = { mousedown : "touchstart", mouseup : "touchend", mousemove : "tou…
Re: Game about squares
#104From level 25 forward ( minus 26, spirals seem to be easy to simulate for my brain ) it's a fascinating example of how your subconscious bruteforces.. I managed to finish 25 and 27 but I honestly have no idea how I did it and if I had to do it again it'd take a while. I was wondering, for you guys out there that went past 25, were you able to visualise how the puzzle worked and plan out the moves or did you try diffe…
Still, even with all of that, there was usually one particularly hard state to achieve that required some unusual step, and everything else mostly fell into place afterward.
Re: Game about squares
#105Re: Game about squares
#106I'm stuck on level 3, help please? I seem to be missing something re: controls.
Re: Game about squares
#107From level 25 forward ( minus 26, spirals seem to be easy to simulate for my brain ) it's a fascinating example of how your subconscious bruteforces.. I managed to finish 25 and 27 but I honestly have no idea how I did it and if I had to do it again it'd take a while. I was wondering, for you guys out there that went past 25, were you able to visualise how the puzzle worked and plan out the moves or did you try diffe…
I found myself following a constraint-satisfaction approach to prune the search. I'd quickly work out the unrecoverable conditions to put constraints on the overall possible moves, then start thinking about possible states both forward from the start and backward from the solution, and consider the requirements to reach those states. That tends to produce new unrecoverable conditions and prune the search further. Sti…
Re: Game about squares
#108Re: Game about squares
#109Re: Game about squares
#110Earlier quoted context omitted.
I've written a solver that does exactly that here, it prunes positions whose blocks are too far outside the bounding rectangle: https://gist.github.com/Zimmux/c0fdb3ddad654b6b0ae2
not quite right; some levels like 18 have loops, so some paths have no end state.