¡ Ganan las rojas !

¡ Ganan las azules !

Atención, movimiento incorrecto

1 rana

1 sapo

2 ranas

2 sapos

3 ranas

3 sapos

a3 = Segment((0, 2), (12, 2))
b3 = Segment((0, 2.4), (12, 2.4))
b2 = Segment((2, 2.4), (10, 2.4))
R33 = Point(a3)
A33 = Point(b3)
R32 = Point(a3)
A32 = Point(b3)
A31 = Point(b3)
R31 = Point(a3)
aviso3 = If(x(A31) ≟ x(A32) ∨ x(A31) ≟ x(R31) ∨ x(A31) ≟ x(R32) ∨ x(A32) ≟ x(R31) ∨ x(A32) ≟ x(R32) ∨ x(R31) ≟ x(R32) ∨ x(A33) ≟ x(A32) ∨ x(A33) ≟ x(A31) ∨ x(A33) ≟ x(R31) ∨ x(A33) ≟ x(R32) ∨ x(A33) ≟ x(R33) ∨ x(R33) ≟ x(A31) ∨ x(R33) ≟ x(A32) ∨ x(R33) ≟ x(R32) ∨ x(R33) ≟ x(R31), 0, 1)
lista31 = Sequence(Segment[(r, 1), (r, 3)], r, -1, 13, 2)
lista32 = Sequence(Segment[(-1, s), (13, s)], s, 1, 3, 2)
a = 1 (slider from 1 to 3, step 1)
a2 = Segment((2, 2), (10, 2))
A21 = Point(b2)
A22 = Point(b2)
R21 = Point(a2)
R22 = Point(a2)
aviso2 = If(x(A21) ≟ x(A22) ∨ x(A21) ≟ x(R21) ∨ x(A21) ≟ x(R22) ∨ x(A22) ≟ x(R21) ∨ x(A22) ≟ x(R22) ∨ x(R21) ≟ x(R22), 0, 1)
lista21 = Sequence(Segment[(r, 1), (r, 3)], r, 1, 11, 2)
lista22 = Sequence(Segment[(1, s), (11, s)], s, 1, 3, 2)
a1 = Segment((4, 2), (8, 2))
b1 = Segment((4, 2.4), (8, 2.4))
A1 = Point(b1)
R1 = Point(a1)
aviso1 = If(x(A1) ≟ x(R1), 0, 1)
lista11 = Sequence(Segment[(r, 1), (r, 3)], r, 3, 9, 2)
lista12 = Sequence(Segment[(3, s), (9, s)], s, 1, 3, 2)
A = (-4.16, -3.92)
B = (10.78, -4.1)
C = (1.04, -4.5200000000000005)
polígono1, b, c, d, e = Polygon((3, 1), (9, 1), (9, 3), (3, 3))
polígono2, f, g, h, i = Polygon((1, 1), (11, 1), (11, 3), (1, 3))
polígono3, j, k, l, m = Polygon((-1, 1), (13, 1), (13, 3), (-1, 3))