This article is part of a series – the contents page is here.
In the last article we covered the very basic theory of a chess engine. Time to write some code! Before we can get to the interesting stuff we need to lay the groundwork with a few elementary types and enums. You can see all of these in the ChessElements.ts file. The main ones are PieceType, BoardSquare, Board and GameMove.
Continue reading