Bug fixed, and finish without checkWin function.