Category: Tutorials
-
How to develop a chess program from scratch (for total beginners) Ep. 4
[Previous 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 the previous…
-
How to develop a chess program from scratch (for total beginners) Ep. 3
[Previous episode] [Previous episode] Overview In the previous episode we started thinking about the algorithm of the program we are to create. Now it is time to start building the thinking mechanism of the computer. And we will start from… Step 1. Step 1: Scan the chessboard The first thing one should do when thinking…
-
How to code a chess program in one day. (C# and Java examples)
Introduction Coding is easy. Today there are a lot of people learning how to do it. Why not you? And you know what is the most difficult step in learning how to code? TO START LEARNING. You know there is an old Buddhist saying claiming that “When the student wants, the teacher appears”. So the…