Re: package proposal: Games_Chess
| From: | Yavor Shahpasov | Date: | Wed, 08 Oct 2003 15:11:40 +0000 |
| Subject: | Re: package proposal: Games_Chess | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-22492@lists.php.net to get a copy of this message | ||
Review: quick look at the code
Vote: +1
Account: yavo
Comments: pretty sweet
Is the above the new way of voting, or do people use it because it looks nice
Yavor
Tomas V.V.Cox wrote:
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:-- Yavor Shahpasov yavo@siava.orgHi,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 repetitionas 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 movesIt 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/testsafter 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.phpSource 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.htmlPackage can be installed via:pear install http://chess.chiaraquartet.net/Games_Chess-0.1.tgzAPI Documentation at:http://chess.chiaraquartet.net/docsOnline demo of HTML chess-playing program based on Games_Chess at:http://chess.chiaraquartet.netRegards, Greg