alert of illegal moves and game win