News for hackers. Stuff that matters.
Re:Show HN: A simple but effective chess engine in JavaScript by melissalobos on Monday May 09, 2022 @03:41PM (#31318780)
It was interesting to play against, but it got stuck into a threefold repetition and the match ended in a draw, maybe do something to detect move cycles.
Re:Show HN: A simple but effective chess engine in JavaScript by zamfofex on Monday May 09, 2022 @08:55PM (#31322012)
More so than not detecting threefold repetition, it is actually not good at endgames in general, very frequently struggling to find checkmates more than just a few plies deep. I’ve heard anecdotes from friends that played it, where they were able to converge from a losing position during the late middlegame or the endgame.