Newsgroups: comp.ai.games
Path: cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!news2.near.net!howland.reston.ans.net!Germany.EU.net!nntp.gmd.de!dearn!barilvm!news.openu.ac.il!ramon!patrel
From: patrel@cs.openu.ac.il (Patreanu Eldad)
Subject: Connect 4 in C
Message-ID: <D7CowJ.8Fw@cs.openu.ac.il>
Sender: news@cs.openu.ac.il
Nntp-Posting-Host: ramon
Organization: Open Univ. of Israel
X-Newsreader: TIN version 1.2 PL2
Date: Thu, 20 Apr 1995 20:29:06 GMT
Lines: 18

I'm trying to rewrite my Prolog connect-4 program to c, to add speed
(I'm expecting a 2-ply increase), portability, and control.

What I'm doing is rewrite the code from scratch, since the two languages
are so different. But I'm stuck on the alpha-beta search. I have many
in C, but no good one. By good one I mean one that works, isn't too
hard to understand, can understand that some positions are terminal,
is human readable, and that can evaluate moves in an order based on
static evaluation.

If you've got such code, please send it to me. I'll post the best one
here, and upload the game wherever appropriate when complete. I know
this algorithm was posted before in this group, but not really in a
form I can use.

And if anybody wants the prolog code, for LPA-prolog, just mail me.
except for i/o predicates it's portable.
