News for hackers. Stuff that matters.
Re:Ain't It Funny How the Knight Moves? by spicybright on Friday January 20, 2023 @06:06PM (#34461415)
I agree, but I wonder if it's on purpose.

I found the repo[1] and it's very small readme says it's a "Chess visualization exercise"

So I'm wondering if it's an extreme exercise in memorization to help you visualize games better.

(I'm just talking out my butt here, I know nothing about chess puzzles)

[1]: https://github.com/jairtrejo/knight-moves

Re:Ain't It Funny How the Knight Moves? by soperj on Friday January 20, 2023 @06:29PM (#34461650)
It is, because you need to get to the square that's indicated, not any random square.
Re:Ain't It Funny How the Knight Moves? by gus_massa on Friday January 20, 2023 @06:42PM (#34461823)
They should highlight the target square in the board instead of only writing it in the "clock".
Re:Ain't It Funny How the Knight Moves? by JumpCrisscross on Friday January 20, 2023 @07:35PM (#34462382)
> 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.

Re:Ain't It Funny How the Knight Moves? by fsckboy on Friday January 20, 2023 @08:54PM (#34462961)
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?
Re:Ain't It Funny How the Knight Moves? by chongli on Saturday January 21, 2023 @02:05AM (#34464514)
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? by jessaustin on Saturday January 21, 2023 @10:24AM (#34467017)
I'm relieved to see that the following is included at that link:

The term "algebraic notation" may be considered a misnomer, as the system is unrelated to algebra.

Re:Ain't It Funny How the Knight Moves? by II2II on Friday January 20, 2023 @10:19PM (#34463526)
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.
Re:Ain't It Funny How the Knight Moves? by bonzini on Saturday January 21, 2023 @02:15AM (#34464554)
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? by gus_massa on Saturday January 21, 2023 @09:32AM (#34466662)
In a real chess position, where the knight must go is the easy part because there something interesting to do there (like capturing a piece). The problem here is that the chessboard is empty, so it's difficult to remember where you should go.

The interesting part is finding the knight trajectory, reading the notation is boring and easy.

(If the point of the exercise was to read the notation, it should be a different game, like clicking that square as fast as possible.)

Re:Ain't It Funny How the Knight Moves? by JumpCrisscross on Saturday January 21, 2023 @02:33PM (#34469496)
> where the knight must go is the easy part because there something interesting to do there (like capturing a piece)

The aim is to build an intuition for where the knight can traverse without getting captured in N moves. If you can see further into the future than your opponent, you may notice a pattern before they have a chance to stop it. This intuition isn’t fundamentally tied to notation. But having intuition for the notation faculties it since that’s how discussion and literature will interface with you.

Re:Ain't It Funny How the Knight Moves? by hgsgm on Friday January 20, 2023 @06:16PM (#34461531)
why would I practice visualizing not-chess information about chess pieces, when I could visualize actual chess information?

The history of a pieces moves is irrelevant to chess, except in extreme corner cases of repetition.

Re:Ain't It Funny How the Knight Moves? by trfzx on Friday January 20, 2023 @06:38PM (#34461767)
The history is irrelevant here as well, you just need to know the next goal, which is always indicated.
Re:Ain't It Funny How the Knight Moves? by hgsgm on Friday January 20, 2023 @09:23PM (#34463190)
I see that now. The UI has poor discover ability of the goal, especially on mobile.
Re:Ain't It Funny How the Knight Moves? by b4je7d7wb on Friday January 20, 2023 @10:36PM (#34463626)
That's how I took it as well. Everyone talks about highlighting stuff but you don't get highlights in real games. I got more comfortable with knight manouvers and chess notation thanks to this puzzle.

It should definitely have some visual tutorial for people to understand how it works though.

Re:Ain't It Funny How the Knight Moves? by ak_111 on Saturday January 21, 2023 @04:10AM (#34465049)
Still doesn't make it sense from a UX perspective. You can make it an option to highlight the square or just show coordinates and cater for both crowds.
Re:Ain't It Funny How the Knight Moves? by xg15 on Saturday January 21, 2023 @06:48AM (#34465775)
Ah ok! If this is part of some sort of chess training course, this would make sense. Sadly, HN is really bad at presenting context for a submission.