barbarian algorythm and first battle !