-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Welcome to the wiki for Chess AI!
The basic documentation is provided in the README.md file. Here you will find more documentation, and an in-depth knowledge about the project and how it was made.
"Mark my words — A.I. is far more dangerous than nukes." - Elon Musk at SXSW
Well this statement does not seem to fit in the current scenarios considering the development of AI. Some great AI chatbots are out there including, but not limited to, ChatGPT by OpenAI, Bard by Google and LLaMA by Meta, but they have not grown to a level where they can threaten the human civilisation; and won't seem to grow to those heights for some decades.
There are many great Chess AIs as well, where most of them are written in either C or C++. Some of them are Stockfish, Leela Chess Zero, AlphaZero and Komodo, and all of them have risen to the heights where they can defeat human chess grandmasters as well.
This Chess AI is not as highly capable, or even near to capable as they are, but this simple AI program lets you observe how some simple mathematical expressions and algorithms can enable a computer to outsmart a human being, and let itself make sound decisions in a matter of seconds.
The development for this project began somewhere around the onset of June 2022, and is still in development phase, where most of the updates being released are focused on optimization of the algorithms. This AI is completely written in the Python language, which lets anyone understand the code even with a basic amount of knowledge in Python. Writing the AI in Python has also allowed me to make use of the vast library support which comes along with it, enabling me to create a modern interface for the program in less than a few hundreds lines of code, allowing me to focus more on the algorithmic efficiency rather than sitting whole days to create an interface. Writing in Python has also allowed quick development for the program, which comes at a cost of speed; speed does not seem to be much of a problem for a general user.
This program was widely been tested by the unit tests I made, and by my friends and teachers, who also provided with valuable feedback wherever necessary. The program is still in development phase, and since any AI can never be perfect (?), mine does not seem to be either. The end of development of the project will happen when I run out of knowledge, which does not seem to be happening in a few years per se.
This chess AI has provided me, and will provide anyone onboarding a study on this project, a greater outlook on how to make computers work your way and abide by your rules, whilst adding value to your daily life, and solving complex problems.
Chess is one of the most beautiful problems in existence, and is one which can never be completely solved, but there always exists a best move!