PHPChessLIB is a set of object oriented libraries for use in php chess programs. The libraries recognize chess rules and moves. Planned Features include: 50 move rule... stalemate recognition... insufficient mating material draws... 3 move repetition.