Attacking gives you the option to damage someone’s village. You can choose to attack a friend or random player.Your attack can be blocked if a player has a shield. This will give you fewer coins than a successful attack. There are no real strategies in attacking. The only thing I can advise is to attack players that have many burning objects in their village. That means that they likely have no shield to counter the attack.