Bug fix

Fix the bug that normal AI doesn't check if he had won the game