New games every week!
Chess Progress Stress Blog
18th October 2019
Took AGES getting even simple movement working yesterday.

-=-=-

All manner of little bugs, like Array Out-Of-Bounds, and other such things that I usually take care to avoid, but ..
Chess.. Needs an awful lot of look-ahead stuff, and my oldskool coding methods aren't quite managing to keep up with it all!!

The game is currently playable in two player mode, but AL's AI isn't remotely started.

Well, I say that..
AL knows how all the pieces move, and I've set up "This move" scoring for all possible movements.

Look-ahead is the harder part. I need to not only know what happens when a piece moves, but what might happen after that piece has moved.

I could, of course, look up a ton of online Chess Programming Tutorials, but I'm trying my best to do this alone. One of the points of making all these Shoebox AI's is that I'm slowly learning new techniques and ways to do AI players.
If I Copy+Paste, where's the learning!?

I might look up a couple of advanced methods, but I certainly won't be copying my way to the goal.

...
Right.. Back to it!!
Views 42, Upvotes 9  
Daily Blog , Shoebox
New games every week!
Site credits : Jayenkai made this.
(c) Jayenkai 2023 and onwards, RSS feed

Blog - Chess Progress Stress - AGameAWeek