Live data from Hacker News

1D Chess

rowan441.github.io

31–40 of 192 posts

Re: 1D Chess

#32

Haha, i was taking N4 and N6, but didn’t figure the steps after that. To win we need to let knight die because rook can move multiple steps to kill the king. From a third person perspective R2 is a deceptive move that takes advantage algorithm to make the black king back off to kill its knight.

you could also just move your king on that move same result knight cant move, only king can, so it has to back away

Re: 1D Chess

#38

I don’t know why this is stalemate: N4 N5, N6 K7, R5. Wouldn’t rook have the king in checkmate?

Black has no legal moves because of the knight but they aren't in check

Re: 1D Chess

#39

I don’t know why this is stalemate: N4 N5, N6 K7, R5. Wouldn’t rook have the king in checkmate?

The rook doesnt attack the king because N6 is in the way.

So black is not in check and has no legal moves, so stalemate.

Re: 1D Chess

#40
post #10

i could not beat it, and i can't read that chess notation

There's a coordinate-based solution in the source code issues. I couldn't elucidate that notation either.

https://github.com/Rowan441/1d-chess/issues/1

Edit: There's a second solution where instead of moving the rook back 2, move the king forward one and the take the black knight with the rook as the checkmate move.

Post reply on HN