Published on Aug 21, 2023
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.
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 up to date browsers like Mozilla Firefox and Opera can present the pieces as text using Unicode characters for chess pieces.
PHP
Apache HTTP server 2.2
1 GB RAM
60 GB Hard Disk