PHP Classes
elePHPant
Icontem

PHP Chess: Play chess with opponents notified by e-mail

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (14)   DownloadInstall with Composer Download .zip   Reputation   Support forum (8)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2006-03-14 (10 years ago) RSS 2.0 feedStarStarStarStar 61%Total: 3,105 This week: 2All time: 1,121 This week: 591Up
Version License Categories
phpchess 1.0.0GNU General Publi...Email, Games
Description Author

This is a package of classes that lets two people play a chess game in a Web site. Once a player makes his move, the opponent is notified by e-mail to let him know that the other player made a move and now it is his turn.

The classes implement all chess rules and moves, like "castlings", "en passant" captures, stalemates in case the opponent has no longer a legal move and his king is not under attack.

In case you do not have the files for the images of the pieces, some of the most upto date browsers like Mozilla Firefox and Opera can present the pieces as text using Unicode characters for chess pieces.

Innovation Award
PHP Programming Innovation award nominee
February 2005
Number 5
Chess is a kind of game that can be entertaining and very challenging at the same time. However, the players need to be available and have time to participate.

This class provides a means to play chess games over the Internet. Whenever a player makes a move, the other player is notified by e-mail.

This way, the players do not have to be physically present in the same place to participate, nor have to be online at the same time, as they are notified by e-mail whenever it is their turn. So, the players have all the time to participate and can make their moves whenever they have time to access to the Internet.

Manuel Lemos
Picture of Carlos Reche
Name: Carlos Reche <contact>
Classes: 10 packages by
Country: Brazil Brazil
Innovation award
Innovation award
Nominee: 2x

Screenshots  
  • screenshot.jpg
  Files folder image Files  
File Role Description
Files folder imageimages (12 files)
Plain text file class.phpchess.php Class PHPChess class
Plain text file example.php Example Example of how to use PHPChess

  Files folder image Files  /  images  
File Role Description
  Image file black_bishop.gif Icon Black bishop
  Image file black_king.gif Icon Black king
  Image file black_knight.gif Icon Black knight
  Image file black_pawn.gif Icon Black pawn
  Image file black_queen.gif Icon Black queen
  Image file black_rook.gif Icon Black rook
  Image file white_bishop.gif Icon White bishop
  Image file white_king.gif Icon White king
  Image file white_knight.gif Icon White knight
  Image file white_pawn.gif Icon White pawn
  Image file white_queen.gif Icon White queen
  Image file white_rook.gif Icon White rook

 Version Control Unique User Downloads Download Rankings  
 0%
Total:3,105
This week:2
All time:1,121
This week:591Up
User Ratings User Comments (3)
 All time
Utility:90%StarStarStarStarStar
Consistency:81%StarStarStarStarStar
Documentation:-
Examples:81%StarStarStarStarStar
Tests:-
Videos:-
Overall:61%StarStarStarStar
Rank:1002
 
The class has three flaws: 1.
5 years ago (JoopdeVaan)
52%StarStarStar
very thank.
7 years ago (albayoneil ya)
35%StarStar
Excellent
7 years ago (kishore kumar)
70%StarStarStarStar