Hacker News new | ask | show | jobs
by neverkn0wsb357 62 days ago
This might have a bug. I have the following configuration.

K - King H - Knight R - Rook E - Enemy King X - Empty

K X X X R K E X

But it indicates it’s a draw by stalemate.

There is only 1 legal move for black here. Which is to move back to X. If it takes my Knight rook gets it.

He moves back, I move my Knight out of the way. Checkmate.

Edit: oh wait nvm there’s no legal move for black.

1 comments

I don’t think it is a bug, the enemy king can’t move back to X because the knight is attacking that space. Traditionally you can’t move into check in chess.