&quot;Just for fun?&quot; They were trying to figure out whether they could detonate nukes in space to blow up incoming ICBMs, which were a real and growing threat in 1962 (unlike <i>anything</i> to do with the Moon).