You know, re-reading this, if your goal is to keep the secrets of the game etc. one way to go that's way better than obfuscation is separation of engine and module.
It's hard to do right, takes way more discipline, but for example, Tome4 does it with the T-Engine totally separate from the Tome module.
You could distribute the engine open source, and the module as binaries. The engine code can be perfectly maintained for readability, understanding, and expansion, any your module can keep all its secrets.