Could you explain what you mean by "the explore aspect"? Do you mean the ability to use compass directions like n, s, in, etc to move about in the game?
If so, then you can 1) not add any exits to rooms, and 2) modify the goto command (I believe) to not do anything.
This might also be useful:
viewtopic.php?f=18&t=4772(ThePixie's posting on "How to make a text adventure look like a gamebook")