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

[268743]

Version 0

  This was the first released version. I put the RCX only version on the Mindstorms site to see if anybody was interested.

It worked properly, compiled down to 24K leaving enough room for some simple robotics... and it beat me! (although I'm terrible at chess).

It was still a little bit rough around the edges: The 50 move draw rule and three move repetiton were not implemented; however it did fully support en passant, castling and pawn promotion. Undo was available but not linked into the user interface. The lookahead level could be set at the start to between 1 and 6 ply, although 5 and 6 ply were extremely slow on the RCX. The RCX could play black or white.

Thanks to the efficent negaScout algorithm, even though there is no move ordering, it took about a minute per move (mid game, less at the opening and endgame) on the RCX with two move lookahead (it deepened automatically to a maximum depth of eight on captures and checks) , and was bearable (and plays much better than the first version) on three and four ply lookahead.

The rating algorithm needed a few tweaks and there was room for improvement in the speed of the search, but I was quite proud of it.

Anyway, back to the compiler, for version 1.0....


Back to: First Attempt

Show Topic: The Robot Chess Project

Next Page: Version 1