Connect-4 Algorithm

Submitted By: Unknown
Rating: starstarstarstarhalf star (Rate It)
Share: Share By Email By Email

This file provides the functions necessary to implement a
front-end- independent, device-independent Connect-4 game.
Multiple board sizes are supported. It is also possible to
specify the number of pieces necessary to connect in a row in
order to win. Therefore one can play Connect-3, Connect-5, etc.
An efficient tree-searching algorithm (making use of alpha-beta
cutoff decisions) has been to insure that the computer plays as
quickly as possible.


NOTE: Some downloads must be obtained through publishers´s site.
Do you want to get your software listed on this site? Go to our submissions area.

Screenshot


Details

File Name:
CONNECT.ZIP
Product homepage:
Order page:
Languages:
Unknown
Platforms:
Unknown
Release date:
5/1/2000
License:
Unknown
Size:
10 KB
Price/Fee (US$):
Unknown
Number of downloads:
16637

Comments (7)

Awesome for AI coders starstarstarstar   Posted by: dam on Sunday, May 27, 2001

This code is really very good for the AI coders to
take a step further in game theory. i.e. alpha-beta cutoffs theory and implementation.
Thank U.
-Dam

useful piece of ai code! starstarstarstarstar   Posted by: AI beginner on Tuesday, October 12, 2004

thank u very much!

Excellent work starstarstarstarstar   Posted by: Akshar on Sunday, September 20, 2009

I was given this problem in my coursework and I wasn't able to solve it but your code really helped me a lot. This is a real good code for AI algorithms understanding.

err starstarstarstar   Posted by: max on Tuesday, October 13, 2009

I'm new to coding so I just wanted to see what source code for games looks like. Is it normal that when I open it in notepad the formatting is horrible, like everything is written on one line and it makes it impossible to read

Re: err starstarstarstar   Posted by: Burnsy on Wednesday, October 14, 2009

I've been looking for good example code for basic games. Tyvm!

@max:
Open it with "Word Pad". That should fix the issue for you.

I'd also suggest that you start to use a programming editor, or even better, an IDE. If you're new to programming editors and IDE's, I'd start with Context (http://www.contexteditor.org). If you need a hand, hit me up: jburns131 at jbwebware.com.

re re err starstarstarstarstar   Posted by: max on Saturday, October 17, 2009

Oh that's wierd. I've programmed a bit in python and java and when I open my files with notepad the indentation and whitespace is correct.. What's actually happening here? What's wrong with notepad for this .c file?

I use RText, because someone said I should get used to running my java programs in the command line rather than letting an IDE do everything for me while I still get used to the basics of programming.. Thanks for the advice tho, it's always great to have someone point you in the right direction in this vast information highway

Helpful starstarstarstarstar   Posted by: Sarah on Monday, December 07, 2009

I was given a project that was very similar to Connect 4 and was completely stuck. This was helpful and I appreciate it!

Add Your Rating

(Not published)
star
starstar
starstarstar
starstarstarstar
starstarstarstarstar
 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.