Not an Idea but a request
I don't know what the game's syncing algorithm with the servers is but it should start syncing after an attack is completed not in between it. Why is that I'll tell you guys. I have lost three very Important raids during past half hour due to connection problems. I have dropped down a league as well. The game should have actually synced with the server after the attack would've completed rather than in between like it did. I lost the raid after I released my wb and the game said it was out of sync from the server. And when I reloaded the game I landed back to my base with an attack lost and 5 wbs down, all for nothing.
Here is what I propose -
The simple thought behind syncing after an attack and not during it is that when an attack fails due to the game going out of sync from the server, that game is considered lost if you did not release enough troops at once(which is very very rare). Syncing it after the attack makes the loss or win clear.
Also in such a case If the game is needed to be reloaded it should be put to a state just before the attack such that, loss due network problems is not put on the resources or the trophies or the troops. All should remain the same as it was before the attack.
Also all the attacks must be made completely offline such that the game loads the enemy's base and troops info before attack and then updates the result after the attack completes. This will help in making it possible to attack in case there is a minor network problem or in a low network area or in a fluctuating network.
The disadvantages that I can think of, that this request can bring are people deliberately turning the game off or their wifi in case they are losing. This can also be checked by Android developers by making a service that continuously monitors the network connection. If the game is shut down the network will remain, and the person's deliberate attempt at trying to 'undo' his attack will fail.
In case of shutting down wifi or network, A listener should be added that monitors the manual switching on and off the network. If the network is tried to be swithed off manually a handler must first catch the 'switch off' request before the android system and alert the user about the consequences of this manual switching off of network. If it is still switched off the game's state should be updated as per the device's data and not the server's.
Sincerely, I don't think it is my fault that the wireless network I'm using suddenly decided to take my services away and give it back after i had lost. And I certainly do not wish to be punished for such situations.
Please Supercell look into it.