Live data from Hacker News

A sliding puzzle, built with Elm

moroshko.github.io

1–10 of 23 posts

Re: A sliding puzzle, built with Elm

#4
post #3

It's a nice interface. I'm glad arrow keys, the first thing I tried, work. But you're not going to trick me into looking for a sequence of moves that change the parity of the underlying permutation.

I just found this article on the solvability of these puzzles: https://www.cs.bham.ac.uk/~mdr/teaching/modules04/java2/Tile...

Re: A sliding puzzle, built with Elm

#6
post #3

It's a nice interface. I'm glad arrow keys, the first thing I tried, work. But you're not going to trick me into looking for a sequence of moves that change the parity of the underlying permutation.

I wanted to win, so I just changed the goal to P,L,A,Y,T,H,I,S,G,A,M,E,W,O,N, which is solvable ;)

Re: A sliding puzzle, built with Elm

#7
post #3

It's a nice interface. I'm glad arrow keys, the first thing I tried, work. But you're not going to trick me into looking for a sequence of moves that change the parity of the underlying permutation.

The game is solvable -- no tricks, just something you've overlooked.

(Hint: Someone who doesn't know about parity might try scrambling the puzzle randomly, then find that they can reach the goal state about half of the time.)

Re: A sliding puzzle, built with Elm

#8
post #7
post #3

It's a nice interface. I'm glad arrow keys, the first thing I tried, work. But you're not going to trick me into looking for a sequence of moves that change the parity of the underlying permutation.

The game is solvable -- no tricks, just something you've overlooked. (Hint: Someone who doesn't know about parity might try scrambling the puzzle randomly, then find that they can reach the goal state about half of the time.)

That was fun. My usual technique of making a "train" of letters to slide and then attach a caboose didn't work. So I flipped my phone upside down and acted like I wanted to make the word WON at the top. I did then did the rest of th puzzle, finding out the difference from a normal 15 puzzle along the way.

Re: A sliding puzzle, built with Elm

#9
post #7
post #3

It's a nice interface. I'm glad arrow keys, the first thing I tried, work. But you're not going to trick me into looking for a sequence of moves that change the parity of the underlying permutation.

The game is solvable -- no tricks, just something you've overlooked. (Hint: Someone who doesn't know about parity might try scrambling the puzzle randomly, then find that they can reach the goal state about half of the time.)

Is the thing I've overlooked that there are two As?
Post reply on HN