Tag: Chess programming
-
Chess programming and basic chess principles: Episode 2 – Double attack
Double attack is the single most important thing a computer (or a human) should search for when thinking for a game of chess. Why is that? Well, simply put, there is no other way to win material other than the double attack! If you threat one piece of the opponent then the opponent can simply…
-
Chess programming and basic chess principles: Episode 1 – The center
Overview How can a computer think better when playing chess? The raw power of computing alone does not suffice. No matter how powerful a computer is, it will never manage to compute to the depth needed to play a perfect game – at least with the current technological capabilities of human kind. So we need…
-
How to develop a chess program from scratch (for total beginners) Ep. 4: Scan possible moves
[Previous episode] [Next episode] Overview In the previous chapter we saw how the program scans through all the chessboard to find its own pieces. The next step is to think for all the possible moves for each one of these pieces. This small chapter shows exactly how this is done. Scanning all possible moves In…