added support for both chessattack and standard chess