Live data from Hacker News

Blunder Free Chess – visualize which squares are attacked

taonexus.com

41–50 of 52 posts

Re: Blunder Free Chess – visualize which squares are attacked

#41

I'm curious as to why you wrote your own chess implementation - seems like this would have been much easier to implement with chessboard.js [1] and chess.js [2]. 1. https://chessboardjs.com/ 2. https://github.com/jhlywa/chess.js/blob/master/README.md

Surprisingly, in this context, I frequently came across interfaces that make it difficult to implement certain features using those libraries. There's not a one-size-fits-all implementation yet.

Re: Blunder Free Chess – visualize which squares are attacked

#43

This does not work in Firefox. The squares get stretched, while the area you can access stays square, so that the lower row is hidden. This makes it impossible to play.

I did not have this problem when I played a game from Firefox.

Re: Blunder Free Chess – visualize which squares are attacked

#44

False advertisement. I played a single match and the AI very very quickly blundered their queen to my bishop, and later a bunch of other pieces. This bot way is worse than Martin (250) form chess.com. Also, those colors are horrible to see. And it's really hard to see which piece the AI is moving each turn.

I think it's fairly obvious the name is to help the user prevent blunders, not that blunders are literally impossible by both players.

I assumed the original comment was posted in jest.

Re: Blunder Free Chess – visualize which squares are attacked

#45

This does not work in Firefox. The squares get stretched, while the area you can access stays square, so that the lower row is hidden. This makes it impossible to play.

it works in my version of Firefox, and I tested it on mobile as well. Can you send a screenshot and give information about your version of Firefox? what it looks like for me: https://imgur.com/a/ma37KtJ

Re: Blunder Free Chess – visualize which squares are attacked

#46

This does not work in Firefox. The squares get stretched, while the area you can access stays square, so that the lower row is hidden. This makes it impossible to play.

it works in my version of Firefox, and I tested it on mobile as well. Can you send a screenshot and give information about your version of Firefox? what it looks like for me: https://imgur.com/a/ma37KtJ

I don't have a place to upload a screenshot just now, but it's Firefox 135 on Fedora linux 41.

What happens is that the squares doesn't stay square like in your screenshot, but varies in size depending on which pieces are in that row. The height of a row varies, but the width of the columns always stays the same.

Edit: It is often not the lowest row that get hidden, often e.g row 4 and 5 get so low that you can't put any pieces there.

Re: Blunder Free Chess – visualize which squares are attacked

#47

Makes me wonder how good players "see" the board. Like what parts are "highlighted" and is it always changing as you ponder different aspects of the game, or more static?

It's an interesting question. My opinion just from things I've read is that they're seeing chunks of the board, where the chunks get bigger as they gain more experience. A beginner looks at one piece at a time, an intermediate player might see certain blocks of pieces corresponding to the common openings/endings, and an expert might look at the entire board and think "oh yeah, this is like that one game where the line proceeded as follows..."

Disclaimer, I'm terrible at chess.

Re: Blunder Free Chess – visualize which squares are attacked

#48

Makes me wonder how good players "see" the board. Like what parts are "highlighted" and is it always changing as you ponder different aspects of the game, or more static?

If you mean how top players think about the game, you can watch videos of Hikara, Magnus, even GothamChess on YouTube and they go through in detail with visualizations of various positions in many games. Top players have encyclopedic knowledge of games and openings.

Re: Blunder Free Chess – visualize which squares are attacked

#49

False advertisement. I played a single match and the AI very very quickly blundered their queen to my bishop, and later a bunch of other pieces. This bot way is worse than Martin (250) form chess.com. Also, those colors are horrible to see. And it's really hard to see which piece the AI is moving each turn.

>those colors are horrible to see After someone gave me feedback on lichess, I tried a heatmap instead (with green for white and red black), I'm not sure it's an improvement but you can see if you like it any better: https://taonexus.com/blunderfreechess2.html

It is better, but still hard to make sense of. As you progress in the game, all squares are somewhat contested so everything is colored, which makes everything hard to evaluate. I like the idea of making a square brighter once it has more pieces looking at it, but having the whole board colorful like that is weird. Perhaps each square could have a number, like +1, -1 or +2 to count pieces looking at it.

Also, sometimes you see a red square around a piece, but it's not clear to me why. Is it present only when it is unprotected and an enemy piece is looking at it? That is kinda already too late, perhaps every unprotected piece could have the square around it.

And please give proper indication of what was the last move. I know most games will do this by coloring squares and you can't do this here, but having a way would be great, even if it was listing the move with chess notation below the board.

Also the pieces are a little weird to distinguish. I found myself trying to move Black's bishop twice.

Re: Blunder Free Chess – visualize which squares are attacked

#50

Makes me wonder how good players "see" the board. Like what parts are "highlighted" and is it always changing as you ponder different aspects of the game, or more static?

It's an interesting question. My opinion just from things I've read is that they're seeing chunks of the board, where the chunks get bigger as they gain more experience. A beginner looks at one piece at a time, an intermediate player might see certain blocks of pieces corresponding to the common openings/endings, and an expert might look at the entire board and think "oh yeah, this is like that one game where the lin…

Yeah I've heard this description too, and it makes sense. But I also get the sense that the "chunks" must not just be simplifications of parts of the board, in fact the experts must "see more at once" than the newbie right? Like inside of the chunks there is somehow tons of intricate detail that the newbies can't even see, let alone assimilate into one memory or instinct or thought.

Maybe like a tourist who notices one interesting building or sign. The local doesn't notice anything, just like "cool, I remember this place," except then they notice if one small detail changes compared to the last time they visited. So in a sense they "saw" way more than the tourist.

I am also terrible at chess. Curious if this is anything like how the experts experience it.

Post reply on HN