Added random seed for AI choosing.