Added AI to assign points for each piece