Added the logic of pilas and merging. Falta el random y determinar la victoria/derrota