This is the code for Mod8 of Chess.