fixed aiscore

fixed aiscore and the move function