Andy's LEGO® Mindstorms® Page
About this site
  
What's New?
  
Standard Disclaimer
Quite C
  
Francesco Ferrara
  
Getting Started
  
Installing Quite C
  
Compiling a project
  
Sample Code
Chess
  
The Robot Chess Project
  
Programming Chess
  
First Attempt
  
Version 0
  
Version 1
  
The Program
  
The State of Play
  
The User Interface
  
The Move Generator
  
The Move Applier
  
The Rating Algorithm
  
The Search Algorithm
  
Putting it all together
  
The Robot
  
The Head
  
Moving the head
  
Movies
  
Downloads: Source Executables, MLCad Models
4-in-a-Robot
  
4-in-a-Robot - the Robot
  
The 4-in-a-Robot Base
  
The 4-in-a-Robot Delivery Mechanism
  
The 4-in-a-Robot Controller
  
4-in-a-Robot - the Code
  
The 4-in-a-Robot Algorithm
  
The 4-in-a-Robot Control Programming
  
The 4-in-a-Robot Robot-less version
  
Installing 4-in-a-robot
  
Playing the robotless 4-in-a-robot
  
View the source code
Speech
  
The problems with speech
  
Sounds familiar
  
H8 Timers Background
  
Trial and Error
  
Volume Zapper
  
Actually Speaking
  
Speak.c - the code
  
The VB code generator
Some ideas for the future
  
Room positioning robot
  
Neural Net Bot
  
Pianola
  
Text to speech
LEGO® Mindstorms® Links

[268744]

The Robot Chess Project

 

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


Show Topic: Chess

Next Page: The Program