Based on Pear Games_Chess - represents a chess game as a php object