That will hardly work. How do you want future readers to know if your work is good enough? How do you want testers to test it (and believe me, having people testing your game is a great investment)?
You can make it a closed beta test, but in that case, since you aren’t known, you will have an hard time finding good testers willing to go in without any demo. And those guys are always going to see your coding. A committed tester (in a closed beta) will usually look at the code and files. Otherwise it would take a much bigger amount of time to check some possible issues.
Are you afraid that people end up stealing your game altogether? I get the fear. Still, I doubt CoG would publish something like that. They want their writers to feel safe when going through the testing process.
And besides, if you want to publish a HG you will always be forced to have people (even if a few) test it. It isn’t a comfortable reality, I feel you, but it is what it is. I understand that putting things out in the internet isn’t a very comfortable thing to do (I am writing a game as an hobby in my spare time, so believe me, I know the feeling), but it is the process of HG’s business model, no way around it.