abPrune function now returns the action to take (which square to play on)