Takecharge Programming Blog
-
Programming Chess in Alpha Software:Lesson 8
Hello everyone As mentioned in the previous post, I have started in a new direction for our chess engine. If the program is to think like a human then we must first look at how a human plays the game. Now I am not the best chess player in the world, in fact I consider…
-
Programming Chess in Alpha Software: A New Perspective
Hello Everyone Hope the holiday season is going well for all of you. It’s been a while since my last post and that has been because I am not having the success with the direction I am taking on my min/max program that I had hoped for. For example; If white opens with e4…
-
Programming Chess in Alpha Software: Lesson6
—
by
in Changing Object Property Values, Desktop Application, External_Record_Content_Get, Fetch, Form Design, Form Load Method, Games, Having Fun With Graphics, How To, List Objects, Object Method, On Event, On Fetch, On Init, On Push, Programming A Chess Game, Record List Combo, Table Open Method, Tree View, Using If Else if, Using Query’s, Writing Array’s, XBasic Tips and TricksHello Everyone Today we will be looking at the opening book for our chess program and the code for all the functions related to the opening book. Before we begin please take a moment to watch this short video which demonstrated the use of the opening book and the new features we are adding to…
-
Programming Chess in Alpha Software: Lesson5
Hello Everyone Today we are looking at the changes to our code affecting WhitesBoard and BlacksBoard. These two routines provide a list of each piece on the board which is available to move and where it can move to. The changes I made process these list to create values needed in scoring the game as…
-
Programming Chess in Alpha Software: Lesson 4
Hello Everyone In our last lesson we showed a video demonstrating the chess program in action with a human playing both Black and White. As I commented in the lesson, the code is growing and starting to become unmanageable. The code does work, but it fails in a major way. The available data strings are…
-
Programming Chess in Alpha Software: Lesson 3
Hello Everyone Today we will be looking at the process for capturing an opponents piece and the process for checking the opponents King. Also, we will need to readdress the Setup code to reflect the changes in our table grid. First, I now have a short video showing the game so far. Now it is…
-
Programming Chess in Alpha Software:Lesson 2
Hello Everyone In our first lesson we looked at our chess piece and position table and the code for each square on our board. As I mentioned the table may change and it has. I will review the new structure and reason for the change below. We also looked at moving the piece image from…
-
Programming Chess in Alpha Software
Hello everyone Today we embark on the most ambitious project to date. Creating a Chess program that thinks. Now you may be saying why bother there are plenty of chess programs and they are a dime a dozen. The answer is a chess program will use Classes Array’s Variables Functions Programming Loops Tables Form Objects…
-
PC Desktop: Controlling Browse Data Views in a One to Many Set Part2
Hello Everyone This is part 2 of Controlling Browse Data Views in a One to Many Set. Since posting part 1 the other day I have received an email requesting information on how I made the check mark show up in the selected files, so we will start there. First Lets recap the previous post.…
-
PC Desktop: Controlling Browse Data Views in a One to Many Set
Hello Everyone For those of you who have been following along, you know I have devoted many articles to presenting and controlling data in list views. Today we will look at the more traditional Browse Data Views in a one to many set. For the purpose of this lesson we will be looking at our…