Re: package proposal: Games_Chess
| From: | Stefan Neufeind | Date: | Wed, 08 Oct 2003 08:30:16 +0000 |
| Subject: | Re: package proposal: Games_Chess | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-22463@lists.php.net to get a copy of this message | ||
Fully agreed! After having played a bit I'm impressed. And looking at
the source (which is also said to be fully-unit-tested) I'm even more
impressed. Greg, you're damn hot crazy :-))
So yeah, I like the Games_Chess-backend-library. Did a cursory source-
review.
Just one suggestion: Would it be useful for getMessage to be moved to
a separate language-file? Then you could come up with separate,
additional files for supplying even more languages.
Stefan
On 8 Oct 2003 at 7:18, Arnaud Limbourg wrote:
> as usual with greg this is high quality code.
>
> The name Games_Chess fits well.
>
> Arnaud.
>
> > 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
> >
> > --
> > PEAR Development Mailing List (http://pear.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
> --
> PEAR Development Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>