|
|
Surely Chess is too complicated? Not at all. Maybe at the high end of the chess program market, but simple chess machines only use about 16K of program. The RCX offers a reasonably speedy 32K of program space to play with. It is possible.
I decided to try and code up a RCX chess program from scratch after reading one of the programming challenge forums on the Mindstorms site. It certainly was a challenge!
There are two halves to the project, both are challenging: The chess program itself, and the robotics.
From the start, the source code has been designed to allow the same code the be used, but plugged into a different user interface, either a windows console, the RCX just using it's display, or a robot.
Programming Chess
First Attempt
Version 0
Version 1
|
|