Triples.jmc


Triples is a two player strategy board game. Each player (white and black) have the goal of reaching their goal squares (P1G? and P2G?), or leaving their opponents without a valid move.

The board is 8x8 and all squares except the four middle and four corner ones have a three direction arrows, implying the allowed direction for the opponent. The 4 middle squares (d4, d5, e4, e5) are blocked.

Each player on her/his turn can only move by one square in the direction dedicated by the square her/his opponent is currently located.

The interesting part of this program is the only action defined: player move, the only goal defined: player win, and the only heuristic defined for that goal, namely minimizing the Manhattan distance of the player to his or her goal square.

Download:

triples.jmc

 
Page last modified on September 26, 2008, at 07:05 AM

simplaPoweredBy

 

Warning: fopen(wiki.d/.flock) [function.fopen]: failed to open stream: Permission denied in /home/hesam/public_html/pmwiki/pmwiki.php on line 417

PmWiki can't process your request

Cannot acquire lockfile

We are sorry for any inconvenience.