How to Build a Chess Engine and Fail

How to Build a Chess Engine and Fail.
A Chess-AI is something every programmer should build at least once and Sebastian Lague’s competition was the perfect opportunity for me to do so. Constrained to 1024 tokens I wanted to implement an evaluation function similar to that of Stockfish’s NNUE but heavily simplified. And instead of using a complex feed-forward algorithm to train the neural network I wanted to optimise the parameters using a genetic algorithm that relied on historical Stockfish data. However, I quickly realised why the model Stockfish uses has 50MBs of data and would not fit into my small bot for the competition…

Read in full here:

This thread was posted by one of our members via one of our news source trackers.