I'm currently making a multiplayer game that runs entirely with web technologies. I know that the only way to make cheating hard is to have logic that's mostly server-side, as you cannot trust that the users won't alter your client-side code. However, this is just a little project, I don't really care if it's not 100% safe, and making 100% of the game's logic server-side is definitely out of the question.
The solution that I want to implement is this: Making the client-side code nearly impossible to alter, nearly impossible to understand, and disconnect the client whenever it's clear that he is interacting with the website in a way that should not be possible.
It doesn't have to be perfect, it just has to be hard enough that literally no one would care enough to try. I have a lot of programmer friends so I know for a fact that they're going to try and break everything...
How can I achieve this? Does this practice even have a name ? Would you guys have resources where I can learn how to do this, or have experience with this ?
Thanks ! dFuZer