Space checking for chess validator