Games_Chess
[ class tree: Games_Chess ] [ index: Games_Chess ] [ all elements ]

Source for file setup.php.inc

Documentation is available at setup.php.inc

  1. <?php
  2. require_once 'Games/Chess.php';
  3. require_once 'Games/Chess/Standard.php';
  4. require_once dirname(dirname(dirname(__FILE__))) '/phpt_test.php.inc';
  5. $board = new Games_Chess_Standard();
  6. $board->blankBoard();
  7. $phpunit = new PEAR_PHPTest();
  8.     var $pieces = array();
  9.     function addPiece($color$type$square)
  10.     {
  11.         $this->pieces[= array($color$type$square);
  12.     }
  13. }

Documentation generated on Sun, 17 Jun 2007 02:00:57 -0400 by phpDocumentor 1.3.2. PEAR Logo Copyright © PHP Group 2004.