The goal of this is to be a php based 2 player chess game allowing you to play against other people from afar. Similar to the concept of email chess. I based this project from the concept of email chess. This project required PHP and MySQL. I used some regular expressions to validate each move for the pieces. Also I had to determine the logic to use to validate each move. I completed all testing and troubleshooting of code issues.
http://chess.wmgraphicdesign.com/
The code behind making moves is simplistic as it takes the move and updates the database to change the location of that particular piece.
The database is designed to be able to handle multiple games at a time and is setup with a column for each square on the board. Each game has an individual id and auth code so that someone can join your game. The following is the SQL code for the database.


