Re: package proposal: Games_Chess
| From: | Tomas V.V.Cox | Date: | Wed, 08 Oct 2003 14:24:29 +0000 |
| Subject: | Re: package proposal: Games_Chess | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-22482@lists.php.net to get a copy of this message | ||
Review: cursory review the code
Vote: +1
Account: cox
Comments: Cool stuff Greg :-)
Tomas V.V.Cox
Wednesday, October 8, 2003, 4:51:27 AM, Greg Beaver wrote:
> Hi,
> Games_Chess is a fully functional chessboard simulator. It has full
> "knowledge" of all the rules of chess, and can calculate
> - checkmate
> - stalemate
> - 50 move draw
> - draw by repetition
> as well as parse a FEN (Farnsworth-Edwards Notation) string describing a
> chessboard position, and any SAN (Standard Algebraic Notation) string
> describing a chess move. It can also perform a chess move based on the
> starting and ending squares.
> The package has several uses including the obvious ones:
> - playing chess against other people through a visual interface program
> such as the one at chess.chiaraquartet.net
> - validation of a series of chess moves
> It is fully unit-tested, and has all the tests included with the package.
> To take full advantage of the package, prior to installation, run these
> two changes to your configuration:
> $ pear config-set data_dir /path/to/doc_root/pear
> $ pear config-set tests_dir /path/to/doc_root/pear/tests
> after doing this, you can browse to the HTML example at
> http://localhost/pear/Games_Chess/HTMLChess.php, and to the
> unit tests
> at http://localhost/pear/tests/Games_Chess/testsuite.php
> Source code is viewable at:
>
> http://chess.chiaraquartet.net/docs/__filesource/fsource_Games_Chess__Chess.php.html
>
> http://chess.chiaraquartet.net/docs/__filesource/fsource_Games_Chess__ChessStandard.php.html
> Package can be installed via:
> pear install http://chess.chiaraquartet.net/Games_Chess-0.1.tgz
> API Documentation at:
> http://chess.chiaraquartet.net/docs
> Online demo of HTML chess-playing program based on Games_Chess at:
> http://chess.chiaraquartet.net
> Regards,
> Greg
--
Tomas V.V.Cox mailto:cox@idecnet.com