-
Notifications
You must be signed in to change notification settings - Fork 0
/
todo.txt
65 lines (40 loc) · 1.03 KB
/
todo.txt
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
//
Refactor the Puzzle Class And Cell And Group Class
puzzle will hold the master list ,
groups will hold a list of id's
cells will hold a value
The Finders will all directly work with puzzle and master list
This should help allievate some of the current source of truth woes
classes
Cell
value
Group
Members
Puzzle
Rows
Columns
Groups
MasterList
Finders
Finders -> Finder
FilterPossible()
find all available in a grid ,
then for each possible value left in grid
figure out what cell can hold that value
if only on cell can hold that value assign that cell the value
puzzle for each group
neededValues = []
candidates = {
1 : [member]
2
3
4
...
}
group for each member
add member potentials to needed neededValues
neededValues for each value
group for each member
if(member potential has neededValue)
counter + 1
Intersection