Generation 5: Artificial Intelligence Repository - PenteAI
Logo

PenteAI

Author: J. Matthews.
Platform: Windows 95.
Requires: Win95, mouse. Code requires a C++ compiler (compiled w/Visual C++ v5.0),

Download here! (Windows executable and DOS source code included!). Please note that mfc42.dll is required to run the program. Note, sorry I cannot supply a direct download from Generation5, since I don't have a license to distribute it - you know Microsoft. You can download it from the Microsoft site after a bit of searching. Chances are you already have it, though.

Introduction

PenteAI is my first real attempt at an AI program. I created the program for my IB higher computer project, and when I bought VC++, I converted PenteAI over to Win95 as my first Windows program! All the details about PenteAI are in the help file, which is merely a conversion of the accompanying essay. You can download this document in either:

  • Text format.
  • RTF format.
  • Word format.

    A screenshot of the program after beating me can be found here. Please don't expect too much from the program since it is both my first AI program and Windows program. Therefore both the AI and GUI suffer due to it! Nevertheless, I've kept this program up here because beginners will find the code pretty easy to understand.

    How it Works

    Iterations. Lots and lots of iterations. The program basically evaluates every spot on the board in an attempt to find the best place to move. The various areas on the board are weighted according to various factors. The factors the program takes into account include: possibilty of a win, possibility of a take (weighted higher as number of takes increase), possibility of a block (this too increases as number of pieces blocked increases), possibilty to block a take (this too increases) and other factors.

    Beginners should take a look at the code and run it a few times to get an idea of the program. People who have had any experience with AI - I wouldn't bother looking at the code. Hehe.


  • Interview with Andre LaMothe - Famous game programmer and best-selling author.
  • Interview with Steve Grand - Lead Programmer of 'Creatures.'
  • Interview with Steven Woodcock - Webmaster of the famous gameai.com.
  • Applications in Gaming.