fitness function

available moves passed in to player as parameter as well