If you’re interested in Clash of Clans modding or learning game backend design, consider:
But there are major limitations:
The client uses a local save file to initialize game state, which is then verified against the server's version every few seconds to prevent cheating. 2. Private Server Emulators (GitHub)