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

[268745]

The User Interface

 

The user interface


We need some way of telling the human player what move has been made, and accepting a move for the human player. We also need to warn about checks, and detect and announce the end of the game.

There are many ways of doing this, a graphical display, a simple text display of the board, an even simpler display of the moves, or even a robot

The program has three alternative modules which can be linked in to provide:

  • DOS based display: A simple DOS console for the game. Extremely useful during testing

  • RCX only UI: The moves are displayed in A1-H8 notation on the RCX's display, and moves are entered by cycling through the available moves with the RCX's buttons

  • Robot Version: Moves are detected and made to phisical pieces using a robot - for more information see the robot section


    Back to: The State of Play

    Show Topic: The Program

    Next Page: The Move Generator