Draw a line extending from the allied soldiers to the enemys castle to destroy it and win.
When you hit an enemy soldier, the soldier with the higher number wins.
If you cant defeat them with one soldier, fight with two; if you cant defeat them with two, fight with three.
Sometimes it may be important to ignore your opponents soldiers and move on.