Read INSTALL for more information.


#
# Internal Board Representation
#################################
Is a string of 64 chars. Lower case letters stand for BLACK and upper case
letters for WHITE peaces. Here an overview of all images:
// black
t =
s = 
l = 
k = King
d = Queen
b = 
// white
T =
S = 
L = 
K = King
D = Queen
B = 
// others
- = empty
# = board



#
# Database Structure / SQL
############################

DROP TABLE IF EXISTS `aw_chess`;
CREATE TABLE `aw_chess` (
  `id` int(11) NOT NULL auto_increment,
  `white_id` smallint(5) NOT NULL default '0',
  `black_id` smallint(5) NOT NULL default '0',
  `board` varchar(64) NOT NULL default 'tslkdlstbbbbbbbb--------------------------------BBBBBBBBTSLKDLST',
  `moves` text NOT NULL,
  `mtime` int(10) NOT NULL default '0',
  `ctime` int(10) NOT NULL default '0',
  `state` char(1) NOT NULL default '-',
  `public` char(1) NOT NULL default 'N',
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM;


#
# User Request
##############
What is it good for? It servers several purposes.

First, the game is over. Admin checks to see you won the game and updates game
status accordingly.

Second, a remis on the way. Admin contacs both players to verify the request
and sets game status to remis.

Third, a player gives up. Again, admin contacs both players and acts
appropriate.

You see, it is useful.

