How I made (and got beaten by) a Chess playing bot.

Photo by GR Stocks on Unsplash

How to make a Chess-destroying AI overlord

Step 1 - Scoring the Chess Board

Step 2 - Making the CNN (not the reporting station)

Step 3 - Miniature Maximization of Minuscule Maximum Minimum Functions

A minimax tree!
The entire algorithm, put together.

Step 4 - Getting beaten by my own creation

Not bad, but really confusing for people trying to play against the AI.
Game.py — the function that lets us play the game!
The moves are entered in the terminal on the left side, and the game is hosted using pygame on the right.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store