Login   Register  
PHP Classes
elePHPant
Icontem

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

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (8 years ago) RSS 2.0 feedStarStarStar 59%Total: 3,039 All time: 1,104 This week: 641Up
Version License Categories  
phpchess 1.0GNU General Public Lice...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
Age: 31
All time rank: 553 in Brazil Brazil
Week rank: 198 Down12 in Brazil Brazil Down
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,039All time:1,104
 This week:0This week:641Up
User Ratings User Comments (3)  
 All time
Utility:88%StarStarStarStarStar
Consistency:77%StarStarStarStar
Documentation:-
Examples:77%StarStarStarStar
Tests:-
Videos:-
Overall:59%StarStarStar
Rank:887
 
The class has three flaws: 1.
3 years ago (JoopdeVaan)
52%StarStarStar
very thank.
5 years ago (albayoneil ya)
35%StarStar
Excellent
5 years ago (kishore kumar)
70%StarStarStarStar