PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Structures » Games_Chess

Construct and validate a logical chess game, does not display

This package is unmaintained.

Download latest release 1.0.1 (archived versions might be outdated)

License: PHP License 3.01

Description

The logic of handling a chessboard and parsing standard
FEN (Forsyth-Edwards Notation) for describing a position as well as SAN
(Standard Algebraic Notation) for describing individual moves is handled. This
class can be used as a backend driver for playing chess, or for validating
and/or creating PGN files using the File_ChessPGN package (when it is completed).

Documentation

Manual

Maintainers

Dependencies

Required

Releases

Bugs

IDStatusTypeVersionDateSummary
#158ClosedBug2003-10-26total screwup in example if SAN entered in FEN box
#867ClosedBug2004-02-26PEAR QA: improvement for get_class()-usage
#1838ClosedBug2004-07-10pawns can't be dropped on 1st or 8th rank
#1839ClosedBug2004-07-10draw by repetition is not allowed in crazyhouse
#2018ClosedBug2004-07-29promoted pawns moved on/to the back rank disappear
#4043BogusBug2005-04-03installation bug
#7565ClosedBug0.9.02006-05-05should be checkmate but isnt showing as such
#9881BogusBug1.0.0RC12007-01-19draw by repetition does not take into account en passant/castling
#10912ClosedBug1.0.02007-05-02gxh8Q recognized as invalid
#13026OpenBug1.0.12008-01-31En Passant whilst in check
#13133OpenBug1.0.12008-02-16stalemate
#17657FeedbackBug1.0.12010-08-05bug: inRepetitionDraw()
#20183FeedbackBug1.0.12014-01-23Can castle without the rook as seen below