-
Huo Chess: Using Copilot to summarize code

AI is now part of our life. And Copilot is the AI assistant we can all have in Microsoft Visual Studio. One of the features Copilot can be used for is to summarize a class in our code and explain it. For example, I used it to produce a summary of the CountScore function of…
-
Chess algorithm ideas: The notion of balance

A chess algorithm is trying to determine the best move in a given position by thinking based on rules. Programmers are constantly in search for ideas that could help improve this process. One idea that is important and often overlooked is that of “balance”. The score of positions in a chess game between two equal…
-
Better safe than sorry…
As already mentioned in another article, the main method of winning (or losing) a chess game is through a double attack (check the “Chess programming and basic chess principles: Episode 2 – Double attack” article). So how can the computer program we develop be protected against such attacks? Obviously, the computer needs to detect such…