Simple Chess Engine

My attempt at teaching a computer to play chess

A picture of the author, Jakob Maier
Jakob Maier
Jan 23, 2020

After watching The Queens Gambit on Netflix I became very interested in chess and did some reading on Wikipedia, where I stumbled on the article for Computer Chess. The wikipedia articles on this topic explain the algorithms used in chess engines very well and so I went about writing a chess engine for myself. I built this engine in about two days, it supports the basic chess rules but not promotion, en passant and castling. The engine implements the uci protocoll and is able to interface with Lichess, a popular online chess website. It consistently beats Stockfish at Level 2. The computer uses the Negamax algorithm with alpha beta pruning to search for the best possible moves to make.


↑ back to top

© 2023 Jakob Maier
kontakt & impressum