Bug Fixed!

bug is fixed game is playable. Didn't check the position for the
possibility of LEGAL_BOTH