落子位置检测

Operation legality added.
(Guang Rong Branch)