I'm developing a mostly off-line game. However, it'll communicate with the server for the following:
- Collect data, statistical purposes (Yup, players will be notified and can opt-out).
- Trigger and generate resources for daily gifts, events, etc...
The problem is, if I used any HTTP debugger (Say, Charles Proxy) I can see everything (No encryption is being used).
I want to hide the data about daily gifts, events, etc... or else any player with malicious intent can tamper with the requests/responses as s/he sees fit (which can affect other players as well).
Actually, I wanted to apply some kind of encryption, however, I came across few games that managed to hid their activity altogether. Doing a quick research, it seems they use SOCKS and not HTTP, A thing I have a lack of experience in. Example of such games includes Clash of Clans.
So is there a practical way to achieve the desired results?