Category: chess
-
Chess programming and Chess960
Programming a chess engine is hard. Testing it is even harder. One needs to test the engine in various conditions so as to make sure that the algorithm properly recognizes patterns, applies the logic its creator has embedded in it, follows the chess principles that will allow the computer to win etc. To that end,…
-
Can a chess computer have consciousness?
Can a chess computer have consciousness? Can a chess computer know it plays chess? To answer this question we must first recognize that we do not know what consciousness is. Our understanding of our existence is nearly zero. We do not know who we are, why we are here, where we are going. But we…
-
How to develop a chess program from scratch (for total beginners) Ep. 5: Check Legality of Moves
[Previous episode] Overview A chess program is nothing without a function that checks the validity of moves. This function allows the program to play legal moves and without it, nothing would be possible. In this chapter we will analyze this function. The computer utilizes this function at two points: This can be illustrated better in…