Hopefully much more than you ever imagined to do after just two lessons…!!! In that way after this lesson you will be able to read the whole source code of the complete Huo Chess game and at least be able to understand how it works and what every command in it does. With all that you will be able to go to the respective function which implements that aspect in “Huo Chess” and understand how it works in high level. The method of teaching will be as follows: I will analyze in small chapters every aspect of the full chess program, explain in simple words its purpose and how it works and I will show a characteristic part of the C# source code that implement it. We will also show how to use the debugging mode to help us look inside the mechanism of the program and how it works. We will set the starting position of the chessboard, get user input for the human opponent’s move and then start scanning the chessboard to find the best possible move. the Artificial Intelligence of the application). the loop structure that reads/waits for user input) and the chess engine of our chess program (i.e. In this second lesson we will learn how to develop the game’s structure (i.e. I demonstrated how one can get user input from the keyboard and store it in a variable, how to create new functions and how to create new classes. We also learned the basics about object oriented programming – i.e. In the previous (first) lesson we learned about how to create a new project in Microsoft Visual Studio environment.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |