Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
All I can remember is the end and a lost astronaut on the moon uses a rat on a key ring to decide which way to go to find his ship.
The movie is Countdown (1968) starring James Cann and Robert Duval.
From a book called 'The Pilgrim Project' by Hank Searls. I read the book as a kid before the movie came out.
Required, but never shown