added score and better ai