-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.py
35 lines (29 loc) · 924 Bytes
/
settings.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
WIDTH = 600
HEIGHT = 600
WHITE = (255,255,255)
BLACK = (0,0,0)
LIGHTBLUE = (96, 216, 232)
LOCKEDCELLCOLOUR = (189,189,189)
INCORRECTCELLCOLOUR = (195,121,121)
testBoard = [[0 for x in range(9)] for x in range(9)]
testBoard2 = [[0,6,0,2,0,0,8,3,1],
[0,0,0,0,8,4,0,0,0],
[0,0,7,6,0,3,0,4,9],
[0,4,6,8,0,2,1,0,0],
[0,0,3,0,9,6,0,0,0],
[1,2,0,7,0,5,0,0,6],
[7,3,0,0,0,1,0,2,0],
[8,1,5,0,2,9,7,0,0],
[0,0,0,0,7,0,0,1,5]]
finishedBoard = [[0,3,4,6,7,8,9,1,0],
[6,7,2,1,9,5,3,4,8],
[1,9,8,3,4,2,5,6,7],
[8,5,9,7,6,1,4,2,3],
[4,2,6,8,0,3,7,9,1],
[7,0,3,9,2,4,8,5,6],
[9,6,1,0,3,7,2,8,4],
[2,8,7,4,1,9,6,3,5],
[0,4,5,0,8,6,1,7,0]]
gridPos = (75, 100)
cellSize = 50
gridSize = cellSize*9