Commit graph

14 commits

Author SHA1 Message Date
e004d319e3 IDK what this WIP is 2017-10-06 20:27:01 -07:00
6cc3fed4b3 Implement search
- Remove __setitem__; it was getting in the way...
- deepcopy the board for each trial in search()
2013-08-30 17:09:41 -07:00
cc5e35ff81 Working on search() 2013-08-30 10:11:44 -07:00
81e3296f6f Create keys then assign values in __init__ 2013-08-29 22:46:38 -07:00
fdee9ed716 Couple tweaks to help with parsing Euler and Norvig puzzles
- Make xy_key and xy_kwargs_key classmethods
2013-08-29 22:32:15 -07:00
3d69b67185 Fix printing -- had the x and y coordinates flipped 2013-08-29 22:05:16 -07:00
05976b51fb TODO and use self.possible_values instead of explicit range 2013-08-29 21:44:19 -07:00
Eryn Wells
a926bc5a99 Board.solve() and Board.assign() 2013-08-29 15:05:30 -07:00
Eryn Wells
d20a0bbdf7 Fix the divider printing logic (again) 2013-08-29 12:05:34 -07:00
cac812e46f Fix divider length computation 2013-08-29 11:57:31 -07:00
8540f60381 Use length of str(self.size) to compute size of each square in the printed grid 2013-08-29 11:49:34 -07:00
6a753a8dac Docstring updates 2013-08-29 09:52:52 -07:00
7fd051802c Implement the solved property 2013-08-29 09:42:06 -07:00
c120ddc4fa Add sudoku module -- work thus far 2013-08-28 23:09:55 -07:00