Compact choose_from() functions; Make AI four-of-a-kind smart