Changed AI and added IfWon