I'm curious whether it's possible for game developers to keep game mechanics and source code secret. For example, in a game like Minecraft, if a player encounters a new mob that attacks from underground, could developers hide the distance from which it can attack? Is there any technology or method that helps in obscuring this information?
1 Answer
There are definitely ways to protect the code, such as using obfuscation tools, but they only make it harder to access. Even with Minecraft, which has had obfuscated code in the past, modders still managed to create lots of mods. So while obfuscation can act as a barrier, it’s not foolproof.
Actually, Minecraft took a different approach; they left debug symbols in the code intentionally so modding could be easier for players, particularly in Java. Bedrock, however, might be more complex.