Author: Mogens Larsen
Date: 08:59:27 11/26/00
Go up one level in this thread
On November 26, 2000 at 11:40:32, Severi Salminen wrote:
>Could you post an example or part of it (if it is not copyrighted). I'd like to
>know what does Che++ (what a name...) look like.
I don't think it's copyrighted. If it is then this post should be deleted.
An example from the CD:
#-----------------------------------------------------
#-- Module: Pawn.che
#-- Purpose: Elementary knowledge about pawn structures
#-- Author: Alex
#-- Date: 04.06.99
#-- Compiler: Che++ Developer-Suite, Beta-Version.
#-----------------------------------------------------
text StCrazyFPawn "Crazy f-Pawn detected!";
procedure CrazyFPawn()
begin
if bPOn(e5 f5) and !orwPOn(e3 e4) and orwPOn(f2 f3) then
TextOut(StCrazyFPawn);
bBadMvs(f5f4);
end;
if wPOn(e4 f4) and !orbPOn(e6 e5) and orbPOn(f7 f6) then
TextOut(StCrazyFPawn);
bBadMvs(f4f5);
end;
end;
procedure PawnFormation()
begin
CrazyFPawn();
end;
Readme note:
2. Che++
Che++ is a programming language to implement positional knowledge. It has been
developped by Dr. Christian Donninger, the author of Nimzo. The compiler and
example sources are included. Documentation alas is in Austrian language only.
Copy compiled .cmp files to your engines directory. To see Che++ output of the
Nimzo engine set "DisplayOn=1" in Nimzo8.ini and open the Engine Output pane.
Best wishes...
Mogens
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.