Who will win in this riveting chess game of Math.random() vs. Math.random()? (chessboardjs.com) 5 points by Max_Horstmann 6y ago ↗ HN
[–] arthurcolle 6y ago ↗ It randomly stopped without completing - is there some kind of timeout? [–] Max_Horstmann 6y ago ↗ Might be a bug, anything in the console?(I'm not the author of chessboardjs, just stumbled over it) [–] gbacon 6y ago ↗ The game may have become a draw due to insufficient material, e.g., K-KB, K-KN, and of course K-K. Chess also has a 50-move rule that results in a draw.https://en.wikipedia.org/wiki/Fifty-move_rule [–] arthurcolle 6y ago ↗ This was probably it, didn't know of this rule. Effectively a real-world "timeout" !
[–] Max_Horstmann 6y ago ↗ Might be a bug, anything in the console?(I'm not the author of chessboardjs, just stumbled over it)
[–] gbacon 6y ago ↗ The game may have become a draw due to insufficient material, e.g., K-KB, K-KN, and of course K-K. Chess also has a 50-move rule that results in a draw.https://en.wikipedia.org/wiki/Fifty-move_rule [–] arthurcolle 6y ago ↗ This was probably it, didn't know of this rule. Effectively a real-world "timeout" !
[–] arthurcolle 6y ago ↗ This was probably it, didn't know of this rule. Effectively a real-world "timeout" !
[–] gbacon 6y ago ↗ According to a Math.SE answer[0], such a game ends in a draw for about 85% of games.[0]: https://math.stackexchange.com/a/846750/34343
5 comments
[ 4.4 ms ] story [ 39.9 ms ] thread(I'm not the author of chessboardjs, just stumbled over it)
https://en.wikipedia.org/wiki/Fifty-move_rule
[0]: https://math.stackexchange.com/a/846750/34343