Heading

Description

"; function extractDescription( $dirName, $fileName ) { // pull a file into an array. $results = array(); $contents = file( $dirName . "/" . $fileName ); $lineCount = 0; while ( list( $lineNum, $line ) = each( $contents ) ) { // Split the line into comment and non comment parts/ list( $info, $comment ) = split( "//", $line ); if ( strlen( $info ) > 0 ) { $results [] = $info; } $lineCount++; } return $results; } // Extract list of file names in directory matching filter. function fileList( $dir, $filter=null ) { $fileList = array(); // Authenticate - if directory? if ( is_dir( $dir ) ) { // echo "

DEBUG: $dir is a directory.

\n"; // Open and establish directory handle/pointer $dp = opendir( $dir ); // Read contents of directory into array $afile, thus: while ( $content = readdir( $dp )) { // Concatenate filepath $filepath = $dir."/".$content; // echo "

DEBUG: filepath is $filepath.

\n"; if ( is_file( $filepath ) ) { if ( $filter == null || true == strstr( $filepath, $filter ) ) { $fileList[] = $filepath; } } else { // echo "

DEBUG: $content is not a file.

\n"; } } sort( $fileList ); // Close directory closedir( $dp ); } else { echo "

DEBUG: Warning $dir is not a directory.

\n"; } return $fileList; } // fileList // Display photo from given name list. // $photoArray - array of photo file names. // $frame - index of name in array. function displayPhoto( $photoList, $frame ) { $filePath = $photoList[ $frame ]; $size = getImageSize( $filePath ); $width= $size[ 0 ]; $height= $size[ 1 ]; echo "\"frame\n"; } ?> DEBUG: frame=$frame

\n"; $wrapAround = true; if ( is_null( $descriptions ) ) { $descriptions = extractDescription( ".", "description.txt" ); } ?>

Dan Becker's Commands and Colors: Ancients Battle of Ilipa

This page shows a series of synchronized photos of Dan and Mark playing Richard Borg's Commands and Colors Ancients game using the Battle of Ilipa scenario. The Battle of Ilipa occured in 206 BC in Spain when Carthage's Hasdrubal Gisgo met Roman general Scipio and Marcius on the battle field. The game has a nice mix of heavy and medium units with some excellent cavalry on the flanks for both sides.

Use the controls to advance the narration and the photos. The first and last control page to the first and last frame in the series. The second and third control move one step backwards and forwards.

0 ) { print "|< "; print "< \n"; } else { if ( $wrapAround ) { print "|< "; // print dummy control as place holder print "< \n"; } } // Display page back. if ( $frame < (count( $descriptions ) - 1) ) { print "> "; print ">| \n"; } else { if ( $wrapAround ) { print "> "; print ">| \n"; // print dummy control as place holder } } //
// . ?>
DEBUG: name $i=" . $photoArray2[ $i ] . ".

\n"; // } displayPhoto( $photoArray0, $frame ); displayPhoto( $photoArray1, $frame ); echo "
\n"; displayPhoto( $photoArray2, $frame ); ?>

Some lessons learned from this photographic experiment:

Thanks for visiting and reading about my Commands and Colors Ancients figures. More miniatures-related articles are at Dan Becker's Miniatures and Models site or go directly to my 6 mm Carthaginian Army, 6 mm Roman Army, the GHQ terrain preview, or the 6 mm Roman Army pages. Other good sites for information on this great game are John Foley's CCA site, Board Game Geek's CCA pages, and the Yahoo CCA Vassal group.

Home| Top| Ale| Games| Miniatures| MTB| Photos| Poophead| Tri| Other Hobbies| Weather| Feedback