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
Maintainers
- Greg Beaver (cellog) — lead, active
Dependencies
Required
- PHP (>= 4.2.0)
- PEAR Installer (>= 1.4.3)
Releases
- 1.0.1 (stable, 2007-06-17)
Release notes
License: PHP License 3.01
* fix Bug #10912: gxh8Q recognized as invalid
- 1.0.0 (stable, 2007-01-28)
Release notes
License: PHP License 3.01
* fix Bug #10912: gxh8Q recognized as invalid
- 1.0.0RC1 (beta, 2006-11-17)
Release notes
License: PHP License 3.01
fix bugs in Crazyhouse discovered in unit testing
- 0.9.1 (alpha, 2006-11-16)
Release notes
License: PHP License
fix Bug #7565: should be checkmate but isnt showing as such
convert all unit tests to .phpt format
allow placement move to interpose in a check for Crazyhouse variant - 0.9.0 (alpha, 2005-03-11)
Release notes
License: PHP License
Add factory method, return state from startTransaction
- 0.8.1 (alpha, 2004-07-11)
Release notes
License: PHP License
Fix 2 bugs: draw is not allowed except by stalemate, and pawn placement on the
first or last ranks is not allowed (#1838, #1839) - 0.8.0 (alpha, 2004-07-10)
Release notes
License: PHP License
Add "Crazyhouse variant"
- 0.7.0 (alpha, 2004-04-09)
Release notes
License: PHP License
PHP 5 compatibility
- Castling is now possible by moving the king to the destination square
- 0.6alpha (alpha, 2003-12-28)
Release notes
License: PHP License
bugfix release
- fixed #158: total screwup in example if SAN entered in FEN box
- 0.5alpha (alpha, 2003-10-26)
Release notes
License: PHP License
Added new module for Loser's chess (ICC wild 16)
- added gameOver() method, returns color of winner, or D for draw, or false
- 0.3 (alpha, 2003-10-13)
Release notes
License: PHP License
Fixed a few bugs:
- example works in Mozilla now
- promotion was endless loop in example
- promotion didn't change the pawn to the promoted piece
Bugs
| ID | Status | Type | Version | Date | Summary |
|---|---|---|---|---|---|
| #158 | Closed | Bug | 2003-10-26 | total screwup in example if SAN entered in FEN box | |
| #867 | Closed | Bug | 2004-02-26 | PEAR QA: improvement for get_class()-usage | |
| #1838 | Closed | Bug | 2004-07-10 | pawns can't be dropped on 1st or 8th rank | |
| #1839 | Closed | Bug | 2004-07-10 | draw by repetition is not allowed in crazyhouse | |
| #2018 | Closed | Bug | 2004-07-29 | promoted pawns moved on/to the back rank disappear | |
| #4043 | Bogus | Bug | 2005-04-03 | installation bug | |
| #7565 | Closed | Bug | 0.9.0 | 2006-05-05 | should be checkmate but isnt showing as such |
| #9881 | Bogus | Bug | 1.0.0RC1 | 2007-01-19 | draw by repetition does not take into account en passant/castling |
| #10912 | Closed | Bug | 1.0.0 | 2007-05-02 | gxh8Q recognized as invalid |
| #13026 | Open | Bug | 1.0.1 | 2008-01-31 | En Passant whilst in check |
| #13133 | Open | Bug | 1.0.1 | 2008-02-16 | stalemate |
| #17657 | Feedback | Bug | 1.0.1 | 2010-08-05 | bug: inRepetitionDraw() |
| #20183 | Feedback | Bug | 1.0.1 | 2014-01-23 | Can castle without the rook as seen below |