Esempio n. 1
0
"""mapear(mapa_1, lista_1)
mapear(mapa_2, lista_2)"""

sistema_1 = Sistema(player, mapa_1, mapa_2, lista_1, lista_2, radar_1, estadisticas_1, estadisticas_2, n)
sistema_2 = Sistema(otro, mapa_2, mapa_1, lista_2, lista_1, radar_2, estadisticas_2, estadisticas_1, n)


aux1 = copy(lista_1)
aux2 = ["0,1", "3,3", "6,6", "9,9", "12,12", "0,0", "4,4", "8,8"]
aux3 = copy(lista_2)
aux4 = ["0,1", "3,3", "6,6", "9,9", "12,12", "0,0", "4,4", "8,8"]

for i in aux1:
    for j in aux2:
        mapa_1.agregar(i, j)
        aux2.pop(0)
        break

for i in aux3:
    for j in aux4:
        mapa_2.agregar(i, j)
        aux4.pop(0)
        break

print(mapa_1)
print(mapa_2)


while True:
    sistema_1.turno()