I have monitored this scene for five years. Here is the reality:
Calculating troop movement, building upgrade times, and resource generation. clash of clans server files
Supercell, the developer, does not release the backend code for their game. The "server files" that run the official game are highly guarded intellectual property housed on secure cloud infrastructure (likely utilizing Google Cloud Platform and AWS). I have monitored this scene for five years
Supercell has one of the most aggressive legal teams in mobile gaming. Their Terms of Service explicitly forbid reverse engineering, hosting private servers, or using modified clients. building upgrade times
Responsible research and alternatives
Moreover, most "unlimited gem servers" shut down within weeks because the server owner cannot afford the bandwidth or gets a cease-and-desist letter.