they avoided court wherever possible and spent the hours outside riding , racing , jousting and wrestling , and then , in the evenings , the two sat with the prince 's friends , drinking and gambling amiably , quite impervious to the beseeching looks cast at them by the young ladies of the court .