Live data from Hacker News

Game about squares

gameaboutsquares.com

101–110 of 208 posts

Re: Game about squares

#101
post #90

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

not quite right; some levels like 18 have loops, so some paths have no end state.

Re: Game about squares

#102
post #63

The 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…

[deleted]

Re: Game about squares

#103
post #63

The 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…

I have a touchscreen laptop, and both touch and mouse work perfectly for me. Firefox 31 here.

Re: Game about squares

#104
post #97

From 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.

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

#107
post #97

From 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…

You perfectly described my process so now there's 2 data points. If anyone else had some different way please share.

Re: Game about squares

#108
Really liked the game, but I'm colorblind and it blocked me on level 20: I can't tell which square should go on which circle ( http://imgur.com/CX7XWJ4 ). I genuinely played that level as if the two bottom squares were the same. Maybe you could add another differentiator, like a different shape.

Re: Game about squares

#110
post #90

Earlier 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.

Should be fixed now.
Post reply on HN