Adding the chess code.