I am looking for a Chess AI that can be run on Google App Engine. Most chess AI's seem to be written in C and so can not be run on the GAE. It needs to be strong enough to beat a casual player, but efficient enough that it can calculate a move within a single request (less than 10 secs).
Ideally it would be written in Python for easier integration with existing code.
I came across a few promising projects but they don't look mature:
Is any computer chess program invincible? The quick answer is “no” and the easiest way to prove it is look at the current standings of the various computer programs against each other. Below are the CCRL 40/40 ratings for the top three programs against each other as of 10 Jun 17.
Saudi Arabia's grand mufti has ruled that chess is forbidden in Islam, saying it encourages gambling and is a waste of time.
Stockfish prior to last one is not machine learning or neural net brand of AI. Stockfish NNUE is combination of Neural net evaluation and traditional alpha-beta tree search.
What's wrong with PyChess? It's pure Python, fairly mature, and will certainly be able to beat a casual player.
It's been a while since I've used PyChess, but a quick glance through some of the source does indicate that you can set a time limit on how long to search for a move.
The PyChess engine that is written in pure Python is in pychess.Utils. Specifically, if you look at pychess.Utils.lutils, you can see for instance the move generator written in Python.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With