Thursday, January 27, 2011

Chess in QBasic

It's been several years since I last looked into my chess program project - the Simple Chess. The first version got stalled in near completion stage due to my lack of foresight in designing the array structures for tracking pieces. By the time I tried to code castling and realized my mistake, the program has grown to a monstrous 3,300 lines. Worse yet, this was my learning experience when I decided to take a break to refresh - I realized the value of commenting my code. My attempt to recode it from ground up failed in that I got an intro/splash/credits screen sequence in, but got stuck in the design phase of the "meat" of the program. What's left of it is a document containing a lot of considerations and planning that I will need to review and revise before making another attempt. I will post the bits I do revise on here to document the journey.