Problem-solving through play