Computer Chess Club Archives


Search

Terms

Messages

Subject: Chess playing robot project

Author: Hakan Gemici

Date: 05:08:49 12/07/03


Hi everyone!
I'm newest member in this mailing group at the moment. So I don't know your
mailing rules, if there's any. Please forgive me for any mistakes. I am taking
Electrics-Electronics Engineering program in Selcuk University, Turkey. I have a
final year project which called "Chess Automaton". As shortly described in its
name my project is an automated electro-mechanic robot which plays chess against
a human. Of course, there's going to be a chess engine running on pc. I have
nearly completed seventy percent of the mechanical system which can control
pieces on chessboard. I can describe details on mechanic system later, if
someone asked me to do so. My problem is about a pc program which going to
handle communication between a chess engine (planning to use crafty) and a
microcontroller based control card via rs232 port of pc. The interface program
will listen to the microcontroller transmitting data on rs232 port.
Microcontroller will send coordinates of chess pieces which wished to be moved
by human. (Ex: e2e4) First two bytes are coordinates of location before move,
and the others are coordinates of location after move. The interface program
will enter this data to chess engine. After a preprogrammed delay interface
program will check if the move is valid. If it isn't a valid move interface
program will return an error code to the microcontroller. If the move is valid,
then after a short delay interface program will return the coordinates of move
which played by chess engine. The format of the data will be same as data
received from microcontroller before. (Ex: h7h5) I have basic programming
abilities in C++, but no more.  And time is short. For Interface program,
programming language is no matter. Delphi, C Builder or Visual  Basic can be
used or any other. I am planning to use a Delphi/C Builder component which named
Comport Library, programmed by Dejan Crnila to communicate via rs232 port.
Yesterday I've found an open source coded project which made by Resplendence
Software.(main page: http://www.resplendence.com/chessbrd)(download:
http://www.resplendence.com/download/chessbrd.zip) The program might be modified
for my automaton project but I have no idea about doing this. In the given link
and inside the chessbrd.zip there are some explanation about code. So are there
anyone could help me on writing a code or modifying the code given above to use
in my project? Thanks for any help.
                                      	 Hakan Gemici



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.