Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Chess game using LabView programming. HELP!!!!

Author: John Sidles

Date: 12:20:26 01/04/02

Go up one level in this thread


On January 04, 2002 at 08:13:38, Shane Bolster wrote:

>I am a final year student in Ireland and as part of my graduation i need to
>develop a very simple chess game using LabView programming.

I'm a big fan of LabView ... but it's not the best language for rule-based
programming.  Roughly speaking, LabView is:

(1) very good for data flow (all versions)

(2) good for user interface (LabView version 6 only)

(3) acceptable for object oriented programming (using GOOP Wizard, which is
included in LabView 6)

(4) very awkward for rule-based programming.

Therefore I suggest that you write a LabView program that plays all five-piece
chess endings *perfectly*, without knowing *any* of the rules of Chess, by
looking them up in a tablebase.

(0) download Bob Hyatt's endgame table bases

(1) write a Perl (or C, or whatever) script that looks up an initial position
randomly from the databases.

(2) write another Perl script that generates all legal next-positions from any
given position -- this is the only program that needs to know any chess (and
these next-positions are likely embedded in the database anyway, so this program
need be no more than a look-up script).

(3) write a third Perl script that selects, from the next-positions, the best
response

(4) use LabView mainly to call these Perl scripts, and generate the user
interface.  This is what LabView is quite good at.

Be sure to make use of the new "Property Nodes" in LabView 6, plus Goop Wizard
to give the internals of your program that polished look.

The above would be a *very* nice senior project.




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.