Live data from Hacker News

Ain't it funny how the knight moves?

funnyhowtheknightmoves.com

141–150 of 211 posts

Re: Ain't it funny how the knight moves?

#142
post #14
post #6

Earlier quoted context omitted.

That and some explanatory text as to what the game actually is. My first thought was to try to capture the queen.

It has text now? "Move the knight to every square, right to left, top to bottom. Don’t land anywhere the queen can take you, and don’t take the queen."

Except, it's not accurate. It says "move the knight to every square" but the game is actually "move the knight to the next square specified".

Re: Ain't it funny how the knight moves?

#143
post #85

Earlier quoted context omitted.

> should highlight the target square in the board instead of only writing it in the "clock". If it's a visualization exercise, they should not. Gaining intuition for notation is strangely enabling, particularly if you have an algebraic mind.

yes, i have an algebraic mind, and I find it easy to visual where the squares are, and if you say "N-KP4", I'm Johnny-on-the-spot! now, what's this a-b-c stuff?

N-KP4 is descriptive notation [1] which was the standard notation used in chess until about 1980. Ne4 is algebraic notation [2] which is the standard notation used in chess today (since 1980).

[1] https://en.wikipedia.org/wiki/Descriptive_notation

[2] https://en.wikipedia.org/wiki/Algebraic_notation_(chess)

Re: Ain't it funny how the knight moves?

#144

In case anyone else goes nuts trying to write a program for a knight's tour with the additional queen constraint from this game: you can't get to B7. Obvious if you actually look at the board.

How is B7 more noteworthy than anywhere else that is under attack from the queen?

It’s double unreachable: you cannot go to any of its neighbours either. Really hidden square for the knight.

while trying to solve this by hand this square also came to my attention and I didn’t notice that it is forbidden by the queen directly :)

Re: Ain't it funny how the knight moves?

#145
post #107

Earlier quoted context omitted.

> should highlight the target square in the board instead of only writing it in the "clock". If it's a visualization exercise, they should not. Gaining intuition for notation is strangely enabling, particularly if you have an algebraic mind.

It depends upon what you are trying to visualize. If you are trying to visualize the pattern of the knight's moves, e.g. how to reach a specific square using a sequence of moves, then highlighting the target would be more valuable. The displacement matters, not the absolute positions. The absolute positions are more of a hindrance since it makes it more difficult to generalize the sequence of moves.

The point is learning to generalize the sequence of moves, and that's why it doesn't give any visual cue.

Re: Ain't it funny how the knight moves?

#146
post #31

Earlier quoted context omitted.

Judging by this thread every single person did the same thing and became equally frustrated (myself included).

I'm confused. What "same thing" did everyone try? The instructions in the help section in the game seemed perfectly clear?

No, they say to move in every place, while you're expected to to move to a specific place in every step. f8 is the first for me, but I did not understand that was supposed to be the target, since it seems arbitrary.

Re: Ain't it funny how the knight moves?

#147
post #80

Ok, shameless plug. I did a pretty “popular” version of this. https://knight-queen-game.netlify.app/

It's really cool (quite a bit harder) but on the phone it's frustrating that a fat finger can result in a diagonal move (e.g. b6 to a7 instead of a8) and instantly lose the progress.

Re: Ain't it funny how the knight moves?

#148
post #79

I mapped out the structure of the board as a graph of which squares you can get to from which other squares. It's surprisingly stringy without all the squares forbidden by the queen placement. https://i.imgur.com/8OuQcu8.png

I'm not sure what I was expecting but 8t wasn't that. Very interesting!

Re: Ain't it funny how the knight moves?

#149
post #31

Earlier quoted context omitted.

Holy... is that what you're supposed to do?!? No wonder the bar wasn't growing even though I jumped to every possible square -.-

Judging by this thread every single person did the same thing and became equally frustrated (myself included).

I was like, ok neat but too bad that bar is broken.

Re: Ain't it funny how the knight moves?

#150
post #79

I mapped out the structure of the board as a graph of which squares you can get to from which other squares. It's surprisingly stringy without all the squares forbidden by the queen placement. https://i.imgur.com/8OuQcu8.png

Same but with the original board as part of the visualization, and with different parts of the structure highlighted: https://ibb.co/JFY3jm4 It made a lot more sense after doing that, as I'm nowhere near proficient enough at chess to see the board and all its moves in my mind's eye.

That was a very good visualization of the problem/solutions, thanks :)
Post reply on HN