\textcolor{yellow}{规则：}\ \hspace{2.5em}鼠标点击任何一盏灯，\ \hspace{2.5em}这盏灯及其相邻的灯\ \hspace{2.5em}都会同时亮或暗。\\\ \textcolor{yellow}{过关条件：}\ \hspace{4.5em}点亮所有灯。

开\textcolor{#624900}{关}灯游戏

$\Large列数:%v$

$\Large行数:%v$

重新开始

a = 0
text4: "已点击" + (LaTeX[a]) + "次"
n = 9 (slider from 3 to 9, step 1)
m = 9 (slider from 3 to 9, step 1)
l1 = Flatten(Sequence[Sequence[Circle[(i, j), 1], i, 1, (2 * m), 2], j, 1, (2 * n), 2])
A1 = true
A2 = false
A3 = true
A4 = false
A5 = true
A6 = true
A7 = true
A8 = false
A9 = true
A10 = false
A11 = false
A12 = true
A13 = true
A14 = true
A15 = true
A16 = false
A17 = false
A18 = true
A19 = true
A20 = true
A21 = false
A22 = false
A23 = false
A24 = true
A25 = false
A26 = true
A27 = false
A28 = true
A29 = false
A30 = false
A31 = false
A32 = true
A33 = false
A34 = true
A35 = false
A36 = false
A37 = true
A38 = true
A39 = true
A40 = true
A41 = true
A42 = false
A43 = false
A44 = true
A45 = true
A46 = false
A47 = false
A48 = false
A49 = false
A50 = true
A51 = true
A52 = false
A53 = false
A54 = true
A55 = true
A56 = false
A57 = true
A58 = false
A59 = true
A60 = true
A61 = false
A62 = false
A63 = false
A64 = false
A65 = true
A66 = true
A67 = true
A68 = true
A69 = false
A70 = false
A71 = true
A72 = false
A73 = true
A74 = false
A75 = false
A76 = false
A77 = true
A78 = true
A79 = false
A80 = true
A81 = true
B1: 1
B2: 2
B3: 3
B4: 4
B5: 5
B6: 6
B7: 7
B8: 8
B9: 9
B10: 10
B11: 11
B12: 12
B13: 13
B14: 14
B15: 15
B16: 16
B17: 17
B18: 18
B19: 19
B20: 20
B21: 21
B22: 22
B23: 23
B24: 24
B25: 25
B26: 26
B27: 27
B28: 28
B29: 29
B30: 30
B31: 31
B32: 32
B33: 33
B34: 34
B35: 35
B36: 36
B37: 37
B38: 38
B39: 39
B40: 40
B41: 41
B42: 42
B43: 43
B44: 44
B45: 45
B46: 46
B47: 47
B48: 48
B49: 49
B50: 50
B51: 51
B52: 52
B53: 53
B54: 54
B55: 55
B56: 56
B57: 57
B58: 58
B59: 59
B60: 60
B61: 61
B62: 62
B63: 63
B64: 64
B65: 65
B66: 66
B67: 67
B68: 68
B69: 69
B70: 70
B71: 71
B72: 72
B73: 73
B74: 74
B75: 75
B76: 76
B77: 77
B78: 78
B79: 79
B80: 80
B81: 81
l2: 1…81
C1 = Element(l1, B1)
C2 = Element(l1, B2)
C3 = Element(l1, B3)
C4 = Element(l1, B4)
C5 = Element(l1, B5)
C6 = Element(l1, B6)
C7 = Element(l1, B7)
C8 = Element(l1, B8)
C9 = Element(l1, B9)
C10 = Element(l1, B10)
C11 = Element(l1, B11)
C12 = Element(l1, B12)
C13 = Element(l1, B13)
C14 = Element(l1, B14)
C15 = Element(l1, B15)
C16 = Element(l1, B16)
C17 = Element(l1, B17)
C18 = Element(l1, B18)
C19 = Element(l1, B19)
C20 = Element(l1, B20)
C21 = Element(l1, B21)
C22 = Element(l1, B22)
C23 = Element(l1, B23)
C24 = Element(l1, B24)
C25 = Element(l1, B25)
C26 = Element(l1, B26)
C27 = Element(l1, B27)
C28 = Element(l1, B28)
C29 = Element(l1, B29)
C30 = Element(l1, B30)
C31 = Element(l1, B31)
C32 = Element(l1, B32)
C33 = Element(l1, B33)
C34 = Element(l1, B34)
C35 = Element(l1, B35)
C36 = Element(l1, B36)
C37 = Element(l1, B37)
C38 = Element(l1, B38)
C39 = Element(l1, B39)
C40 = Element(l1, B40)
C41 = Element(l1, B41)
C42 = Element(l1, B42)
C43 = Element(l1, B43)
C44 = Element(l1, B44)
C45 = Element(l1, B45)
C46 = Element(l1, B46)
C47 = Element(l1, B47)
C48 = Element(l1, B48)
C49 = Element(l1, B49)
C50 = Element(l1, B50)
C51 = Element(l1, B51)
C52 = Element(l1, B52)
C53 = Element(l1, B53)
C54 = Element(l1, B54)
C55 = Element(l1, B55)
C56 = Element(l1, B56)
C57 = Element(l1, B57)
C58 = Element(l1, B58)
C59 = Element(l1, B59)
C60 = Element(l1, B60)
C61 = Element(l1, B61)
C62 = Element(l1, B62)
C63 = Element(l1, B63)
C64 = Element(l1, B64)
C65 = Element(l1, B65)
C66 = Element(l1, B66)
C67 = Element(l1, B67)
C68 = Element(l1, B68)
C69 = Element(l1, B69)
C70 = Element(l1, B70)
C71 = Element(l1, B71)
C72 = Element(l1, B72)
C73 = Element(l1, B73)
C74 = Element(l1, B74)
C75 = Element(l1, B75)
C76 = Element(l1, B76)
C77 = Element(l1, B77)
C78 = Element(l1, B78)
C79 = Element(l1, B79)
C80 = Element(l1, B80)
C81 = Element(l1, B81)
l3: {A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23, A24, A25, A26, A27, A28, A29, A30, A31, A32, A33, A34, A35, A36, A37, A38, A39, A40, A41, A42, A43, A44, A45, A46, A47, A48, A49, A50, A51, A52, A53, A54, A55, A56, A57, A58, A59, A60, A61, A62, A63, A64, A65, A66, A67, A68, A69, A70, A71, A72, A73, A74, A75, A76, A77, A78, A79, A80, A81}
text1 = If(Product[Take[l3, 1, (m * n)]] ≠ 0, "恭喜你过关！")
A = (40.83218632155731, 7.09010730520415)
B = (47.942667010841454, 7.09010730520415)