Billiards and Brains: Cognitive Ability and Behavior in a p-Beauty Contest