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

[268703]

4-in-a-Robot

 

The 4-in-a-Robot


My goal was to create a 4-in-a-row (also known as connect four) playing robot which could consistently beat me.

I'd previously built a version which used VB to create RCX code to play 4 in a row, and draw the results on paper using a simple (and rather wobbly) plotter. It worked quite well, but because of the 32 variable limitation of the standard firmware, it was reasonably easy to beat (although not trivial).

I decided to rebuild the robot to play using a real 4 in a row set, and to create my own firmware using QuiteC - easier than LegOS, but with less support libraries.


4-in-a-Robot - the Robot
4-in-a-Robot - the Code
The 4-in-a-Robot Robot-less version


Back to: Chess

Show Topic: Andy's LEGO® Mindstorms® Page

Next Page: Speech