No BSD License  

5.0

5.0 | 3 ratings Rate this file 17 Downloads (last 30 days) File Size: 19.5 KB File ID: #20636
image thumbnail

Pentago

by

 

09 Jul 2008 (Updated )

The Mind Twisting Strategy Board Game

| Watch this File

File Information
Description

Played on a 6x6 board. Place a game piece on any unoccupied square, then twist one of the four 3x3 quadrants a quarter turn clockwise or counter-clockwise. First player to get five in a row wins. White is played by the human, black by the computer.

MATLAB release MATLAB 7.1.0 (R14SP3)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (3)
12 Jun 2009 Dominique Morgan  
28 Jul 2008 krishna lalith

Good Programming...

10 Jul 2008 John D'Errico

Pretty good. The AI might do with some help, since I won the first game I played and I'd never seen the game before. It might have been nice to have different degrees of difficulty, which probably would merely set a search depth for the AI, or perhaps the board size.

I like that I found help in the function, and an H1 line. Not really much help is needed, since it is a simple game to explain. The code was friendly and asked me if I wanted to play again at the end. Well done overall.

Contact us