\text{Jogadora A:}

1

0

2

3

4

5

6

7

8

9

\text{Jogadora B:}

0

1

2

3

4

5

6

7

8

9

\text{Operações:}

+

-

\times

\text{Mesa:}

=

(\text{mod} \ \ \ \ \ \ \ \ \ )

\text{Jogada 1}

\text{Jogada 2}

\text{Jogada 3}

\text{Pontuação}

\text{\begin{tabular}{cc}
Jogadora & Pontos \
Jogadora 1 &  \
Jogadora 2 & 
\end{tabular}}

A = (-4, 9)
B = (-4, 7)
C = (-3, 7)
D = (-3, 9)
q1, a, b, c, d = Polygon(A, B, C, D)
A_1 = (-2.42, 9)
B_1 = (-2.42, 7)
C_1 = (-1.42, 7)
D_1 = (-1.42, 9)
q1_1, a_1, b_1, c_1, d_1 = Polygon(A_1, B_1, C_1, D_1)
A_2 = (-1, 9)
B_2 = (-1, 7)
C_2 = (0, 7)
D_2 = (0, 9)
q1_2, a_2, b_2, c_2, d_2 = Polygon(A_2, B_2, C_2, D_2)
A_3 = (0.46, 8.98)
B_3 = (0.46, 6.98)
C_3 = (1.46, 6.98)
D_3 = (1.46, 8.98)
q1_3, a_3, b_3, c_3, d_3 = Polygon(A_3, B_3, C_3, D_3)
A_4 = (2, 9)
B_4 = (2, 7)
C_4 = (3, 7)
D_4 = (3, 9)
q1_4, a_4, b_4, c_4, d_4 = Polygon(A_4, B_4, C_4, D_4)
A_5 = (3.46, 8.98)
B_5 = (3.46, 6.98)
C_5 = (4.46, 6.98)
D_5 = (4.46, 8.98)
q1_5, a_5, b_5, c_5, d_5 = Polygon(A_5, B_5, C_5, D_5)
A_6 = (5, 9)
B_6 = (5, 7)
C_6 = (6, 7)
D_6 = (6, 9)
q1_6, a_6, b_6, c_6, d_6 = Polygon(A_6, B_6, C_6, D_6)
A_7 = (6.46, 8.98)
B_7 = (6.46, 6.98)
C_7 = (7.46, 6.98)
D_7 = (7.46, 8.98)
q1_7, a_7, b_7, c_7, d_7 = Polygon(A_7, B_7, C_7, D_7)
A_8 = (8, 9)
B_8 = (8, 7)
C_8 = (9, 7)
D_8 = (9, 9)
q1_8, a_8, b_8, c_8, d_8 = Polygon(A_8, B_8, C_8, D_8)
A_9 = (9.56, 9.02)
B_9 = (9.56, 7.02)
C_9 = (10.56, 7.02)
D_9 = (10.56, 9.02)
q1_9, a_9, b_9, c_9, d_9 = Polygon(A_9, B_9, C_9, D_9)
A_{10} = (-4, 4)
B_{10} = (-4, 2)
C_{10} = (-3, 2)
D_{10} = (-3, 4)
q1_{10}, a_{10}, b_{10}, c_{10}, d_{10} = Polygon(A_{10}, B_{10}, C_{10}, D_{10})
A_{11} = (-2.62, 4)
B_{11} = (-2.62, 2)
C_{11} = (-1.62, 2)
D_{11} = (-1.62, 4)
q1_{11}, a_{11}, b_{11}, c_{11}, d_{11} = Polygon(A_{11}, B_{11}, C_{11}, D_{11})
A_{12} = (-1, 4)
B_{12} = (-1, 2)
C_{12} = (0, 2)
D_{12} = (0, 4)
q1_{12}, a_{12}, b_{12}, c_{12}, d_{12} = Polygon(A_{12}, B_{12}, C_{12}, D_{12})
A_{13} = (0.44, 3.98)
B_{13} = (0.44, 1.98)
C_{13} = (1.44, 1.98)
D_{13} = (1.44, 3.98)
q1_{13}, a_{13}, b_{13}, c_{13}, d_{13} = Polygon(A_{13}, B_{13}, C_{13}, D_{13})
A_{14} = (2, 4)
B_{14} = (2, 2)
C_{14} = (3, 2)
D_{14} = (3, 4)
q1_{14}, a_{14}, b_{14}, c_{14}, d_{14} = Polygon(A_{14}, B_{14}, C_{14}, D_{14})
A_{15} = (3.44, 4)
B_{15} = (3.44, 2)
C_{15} = (4.44, 2)
D_{15} = (4.44, 4)
q1_{15}, a_{15}, b_{15}, c_{15}, d_{15} = Polygon(A_{15}, B_{15}, C_{15}, D_{15})
A_{16} = (5, 4)
B_{16} = (5, 2)
C_{16} = (6, 2)
D_{16} = (6, 4)
q1_{16}, a_{16}, b_{16}, c_{16}, d_{16} = Polygon(A_{16}, B_{16}, C_{16}, D_{16})
A_{17} = (6.5, 4)
B_{17} = (6.5, 2)
C_{17} = (7.5, 2)
D_{17} = (7.5, 4)
q1_{17}, a_{17}, b_{17}, c_{17}, d_{17} = Polygon(A_{17}, B_{17}, C_{17}, D_{17})
A_{18} = (8, 4)
B_{18} = (8, 2)
C_{18} = (9, 2)
D_{18} = (9, 4)
q1_{18}, a_{18}, b_{18}, c_{18}, d_{18} = Polygon(A_{18}, B_{18}, C_{18}, D_{18})
A_{19} = (9.48, 3.98)
B_{19} = (9.48, 1.98)
C_{19} = (10.48, 1.98)
D_{19} = (10.48, 3.98)
q1_{19}, a_{19}, b_{19}, c_{19}, d_{19} = Polygon(A_{19}, B_{19}, C_{19}, D_{19})
A_{20} = (-4.02312, -0.7746219999999956)
B_{20} = (-4, -2)
C_{20} = (-3.027532000000002, -2.004465999999998)
D_{20} = (-3.027532000000002, -0.8039039999999956)
q1_{20}, a_{20}, b_{20}, c_{20}, d_{20} = Polygon(A_{20}, B_{20}, C_{20}, D_{20})
A_{21} = (-2.061226, -0.8039040000000001)
B_{21} = (-2.038106, -2.0292820000000003)
C_{21} = (-1.065638, -2.033748)
D_{21} = (-1.065638, -0.8331859999999957)
q1_{21}, a_{21}, b_{21}, c_{21}, d_{21} = Polygon(A_{21}, B_{21}, C_{21}, D_{21})
A_{22} = (0.017795999999999937, -0.8331860000000001)
B_{22} = (0.04091599999999994, -2.0585640000000005)
C_{22} = (1.0133839999999998, -2.06303)
D_{22} = (1.0133839999999998, -0.8624679999999957)
q1_{22}, a_{22}, b_{22}, c_{22}, d_{22} = Polygon(A_{22}, B_{22}, C_{22}, D_{22})
A_{23} = (0, 2)
B_{23} = (0, 0)
C_{23} = (1, 0)
D_{23} = (1, 2)
q1_{23}, a_{23}, b_{23}, c_{23}, d_{23} = Polygon(A_{23}, B_{23}, C_{23}, D_{23})
A_{24} = (1.4577959999999983, 1.6268140000000055)
B_{24} = (1.480915999999998, 0.4014360000000041)
C_{24} = (2.453384, 0.39697)
D_{24} = (2.453384, 1.5975320000000106)
q1_{24}, a_{24}, b_{24}, c_{24}, d_{24} = Polygon(A_{24}, B_{24}, C_{24}, D_{24})
A_{25} = (3, 2)
B_{25} = (3, 0)
C_{25} = (4, 0)
D_{25} = (4, 2)
q1_{25}, a_{25}, b_{25}, c_{25}, d_{25} = Polygon(A_{25}, B_{25}, C_{25}, D_{25})
A_{26} = (5, 2)
B_{26} = (5, 0)
C_{26} = (6, 0)
D_{26} = (6, 2)
q1_{26}, a_{26}, b_{26}, c_{26}, d_{26} = Polygon(A_{26}, B_{26}, C_{26}, D_{26})
A_{27} = (8, 2)
B_{27} = (8, 0)
C_{27} = (9, 0)
D_{27} = (9, 2)
q1_{27}, a_{27}, b_{27}, c_{27}, d_{27} = Polygon(A_{27}, B_{27}, C_{27}, D_{27})
e = RandomDiscrete({1, 2, 3}, {1, 1, 1})

Tool: Malha Quadriculada (command MalhaQuadriculada)
Clique em 3 pontos e digite um valor
Input: A, B, C, n
Output: l1, l2, l3, l4

u = Vector(A, B)
v = Vector(A, C)
l1 = Sequence(Segment[Translate[A, Vector[(u * i)]], Translate[B, Vector[(u * i)]]], i, 0, n - 1)
l2 = Sequence(Translate[l1, Vector[(v * i)]], i, 1, n)
l3 = Sequence(Segment[Translate[A, Vector[(i * v)]], Translate[C, Vector[(i * v)]]], i, 0, n - 1)
l4 = Sequence(Translate[l3, Vector[(i * u)]], i, 1, n)