D&D wasn't so much marketed to kids so much as it wasn't NOT marketed to kids. By the time of the Basic Set, D&D was clearly trying to get a younger and/or broader audience. But in the 1970s, it certainly wasn't being targeted to a younger audience. By 1980, word was getting around, however...