Because check mate is a very small subset of possible moves at the end game, I'm guessing the vast majority of games will end(?) with 2 kings moving around randomly for all of time. This assumes most games will make it past the hump of mid game where its possible the king's motion will be limited and a checkmate can erroneously happen, I suspect this is a rare case as well. On a side note I wonder what kind of useful…
If it's impossible to checkmate then it's a stalemate. So if one side has one king and the other side one king (or even one king and a pawn, bishop, knight or rook) then it's a stalemate and the game ends. edit: forgot you can checkmate with just a king and a queen
Chess: Who will win in this riveting game of Math.random() vs. Math.random()?
51–60 of 131 posts
Re: Chess: Who will win in this riveting game of Math.random() vs. Math.random()?
#52One thing that is on my (way too long) list of things to try is n-gram chess. 1-gram chess would, for every move from black, have a dictionary of (following move, win probability) pairs, and it would pick one that is legal using the win probabilities to generate a distribution (if there is a sure win, almost always pick it; if there is a move that always lost before, pick it very rarely) You can start this of with em…
[1] https://chessprogramming.wikispaces.com/Killer+Heuristic
[2] https://chessprogramming.wikispaces.com/History+Heuristic
Re: Chess: Who will win in this riveting game of Math.random() vs. Math.random()?
#53Re: Chess: Who will win in this riveting game of Math.random() vs. Math.random()?
#54One thing that is on my (way too long) list of things to try is n-gram chess. 1-gram chess would, for every move from black, have a dictionary of (following move, win probability) pairs, and it would pick one that is legal using the win probabilities to generate a distribution (if there is a sure win, almost always pick it; if there is a move that always lost before, pick it very rarely) You can start this of with em…
I'm trying to figure out how you could store this without having massive dictionaries after a night of training games. I guess it's all just integers which helps.
Re: Chess: Who will win in this riveting game of Math.random() vs. Math.random()?
#55Re: Chess: Who will win in this riveting game of Math.random() vs. Math.random()?
#56I found myself getting mad at Math.random() pretty quickly. "Argh, you just got to promote two pawns, and you made them both black bishops!?!? I oughta fire you and hire an LFSR!"
Re: Chess: Who will win in this riveting game of Math.random() vs. Math.random()?
#57One thing that is on my (way too long) list of things to try is n-gram chess. 1-gram chess would, for every move from black, have a dictionary of (following move, win probability) pairs, and it would pick one that is legal using the win probabilities to generate a distribution (if there is a sure win, almost always pick it; if there is a move that always lost before, pick it very rarely) You can start this of with em…
Re: Chess: Who will win in this riveting game of Math.random() vs. Math.random()?
#58Re: Chess: Who will win in this riveting game of Math.random() vs. Math.random()?
#59Because check mate is a very small subset of possible moves at the end game, I'm guessing the vast majority of games will end(?) with 2 kings moving around randomly for all of time. This assumes most games will make it past the hump of mid game where its possible the king's motion will be limited and a checkmate can erroneously happen, I suspect this is a rare case as well. On a side note I wonder what kind of useful…
1) Yes, most games will end in stalemate. 2) Most wins would occur when one side has enough passed paws such that they chance upon promoting to a few queens.
3) The random-promotion significantly lowers the chances for checkmate. Promotion to a queen is so common that many players who play online chess set paws to automatically promote to queens, so they don't waste the 2 or so seconds it takes to click the "Queen" button.