Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Connect 4 C++ AI Help

Author: Rémi Coulom

Date: 02:09:56 01/13/99

Go up one level in this thread


On January 12, 1999 at 21:02:34, josh mohrer wrote:

>Im making a C++ Connect 4 Program for school.
>I already have made a working 2 player version, but i need to make a computer
>player option as well. I was wondering if anyone here could point me in the
>right direction-
>Any web sites or anything is helpful.
>The AI is what i really need. Ive found lots of JAVA info, but its not very
>helpful, as i need C++... I know that if written correctly, and AI in connect 4
>can almost guarantee the computer a win, and i think that would be just awesome
>give in.
>So since i dont do the web that much, if you could email me with absolutely
>ANYTHING joshm@asan.com id be very greatful.
>thanks
>-josh

You will find the full C++ source code of a simple connect 4 program on my web
page. It is a 3d connect 4 program that I wrote to play 4*4*4 connect 4, but you
can set parameters to have it play on the classical 7*6*1. You should try to
find Victor Allis' master thesis where he explains how to solve connect 4. This
algorithm is implemented in a freely available program called Velena (I do not
have the addresses here, but you should find them with altavista). My program
only uses evaluation heuristics with alpha/beta. The address is :
http://www-leibniz.imag.fr/~coulom/
download source.tar.gz

Remi



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.