Implemented back-end validation for turn control and diagonal checking.