<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to feature-requests</title><link>https://sourceforge.net/p/pythonsudoku/feature-requests/</link><description>Recent changes to feature-requests</description><atom:link href="https://sourceforge.net/p/pythonsudoku/feature-requests/feed.rss" rel="self"/><language>en</language><lastBuildDate>Sun, 21 Sep 2008 06:48:50 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/pythonsudoku/feature-requests/feed.rss" rel="self" type="application/rss+xml"/><item><title>distinction between original number and new inputs</title><link>https://sourceforge.net/p/pythonsudoku/feature-requests/5/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;there should be some distinction between original number and new inputs, including both in record and display, Since user handle them differently.&lt;br /&gt;
And this may require some change in sdk file, such as a leading 0 in original number.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ganggang</dc:creator><pubDate>Sun, 21 Sep 2008 06:48:50 -0000</pubDate><guid>https://sourceforge.netfa970cd595c996b80350ad0236ec38d23606a0e7</guid></item><item><title>Steppable solver</title><link>https://sourceforge.net/p/pythonsudoku/feature-requests/4/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;It would be great if there were some interface at the module level to run a single step and get an explanation of what to do next and why:&lt;/p&gt;
&lt;p&gt;&amp;gt;&amp;gt;&amp;gt; sudoku.step()&lt;br /&gt;
{ algorithm: locked_sets, indices: (vertical, (3,),  (1, 7)), values: (1, 2), positions: (1, 7), execute: &amp;lt;function&amp;gt; }&lt;/p&gt;
&lt;p&gt;This would do the same thing as solve, but as soon as it would be able to reduce the possibilities on one cell, it would instead return the algorithm, loop indices, and values, together with some kind of callback (or key to an "apply" function, or whatever) that could be used to execute the reduction. (Maybe a generator would be a better design?)&lt;/p&gt;
&lt;p&gt;That particular result means that the only values in R3C1 and R3C7 are 1 and 2, and therefore those values can be removed from all other cells in R3. (Obviously this would only be a hit if there were any other cells in R3 containing either 1 or 2.)&lt;/p&gt;
&lt;p&gt;This means that pysdk would have to represent, store, load, and print "penciled" cells. &lt;/p&gt;
&lt;p&gt;This feature could be used almost trivially to log the steps to a solution (like the answers at brainbashers, except those aren't auto-generated):&lt;/p&gt;
&lt;p&gt;def logsolution(self):&lt;br /&gt;
while True:&lt;br /&gt;
nextstep = self.step()&lt;br /&gt;
if not nextstep:&lt;br /&gt;
if self.finished():&lt;br /&gt;
return&lt;br /&gt;
raise Unsolvable&lt;br /&gt;
self.log(nextstep)&lt;br /&gt;
nextstep.execute()&lt;/p&gt;
&lt;p&gt;A GUI hint function is another obvious use. For example, color the 1 and 2 in R3C1 and R3C7 green, and all other 1s and 2s in R3 red, and change the "auto" button to remove all the red ones instead of its usual function of doing all dup removals (see below).&lt;/p&gt;
&lt;p&gt;Or a CLI hinter that just logs and applies one step and saves the result:&lt;/p&gt;
&lt;p&gt;% pysdk.py -t su1.sdk su2.sdk&lt;br /&gt;
Solving one step... locked set 18 in column 1, rows 5, 6&lt;/p&gt;
&lt;p&gt;Being able to pass an algorithm or list of algorithms to either step or solve would also be handy. For example, you could verify that a puzzle is solvable without using algorithms that you find annoying. Or solve((duplicate_removal, pinned_square)) (or pysdk -tDP maybe?) to turn 182 trivial steps into one big one, leaving you ready for the next interesting challenge. Or just implement brainbashers' "Auto pencil marks" button.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Andrew Barnert</dc:creator><pubDate>Wed, 19 Dec 2007 12:37:35 -0000</pubDate><guid>https://sourceforge.net8d062c81cf4841f18f4a7e2a99efeb5ea2cfc1a3</guid></item><item><title>Fallback solver</title><link>https://sourceforge.net/p/pythonsudoku/feature-requests/3/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;It would be nice if, given a sudoku that can't be solved with the known algorithms, pysdk would (maybe optionally, e.g., -f for "force solution"?) revert to some kind of guaranteed solver.&lt;/p&gt;
&lt;p&gt;The easiest thing to add would be a dumb backtracker. Once you're stumped, pick the first incomplete position, iterate through all possible values, and run the solver recursively on the result. Any success is an immediate success on the original puzzle (unless you need to detect ambiguous sudokus); failure means that value is ruled out, and you can go to the next one.&lt;/p&gt;
&lt;p&gt;If you want, I think I could implement it pretty quickly and submit a patch.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Andrew Barnert</dc:creator><pubDate>Wed, 19 Dec 2007 10:42:30 -0000</pubDate><guid>https://sourceforge.net3985b0e1848bdb9763b020a52d2825c93a22c430</guid></item><item><title>Choose the number of grid to generate for a pdf file</title><link>https://sourceforge.net/p/pythonsudoku/feature-requests/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;First, thank you very much for your program, I use it&lt;br /&gt;
every day :)&lt;/p&gt;
&lt;p&gt;I have just one suggestion : it would be great if we&lt;br /&gt;
can choose the number of grid to generate into a pdf file.&lt;/p&gt;
&lt;p&gt;For example :&lt;br /&gt;
"I want to print 8 grid with solutions"&lt;br /&gt;
python pythonsudoku.py -P -n 8 -s mysudoku.pdf&lt;/p&gt;
&lt;p&gt;This will save a pdf file with 8 grids on the first and&lt;br /&gt;
second page (4 grids per page), and the solutions on&lt;br /&gt;
the last page.&lt;/p&gt;
&lt;p&gt;It will be a nice feature :)&lt;/p&gt;
&lt;p&gt;Thank you for your efforts.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Tue, 17 Jan 2006 15:43:34 -0000</pubDate><guid>https://sourceforge.net7d00604aaf6b05eb4f594a0185c2a05d5720b036</guid></item><item><title>other input formats</title><link>https://sourceforge.net/p/pythonsudoku/feature-requests/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hello, &lt;/p&gt;
&lt;p&gt;I like your program.&lt;/p&gt;
&lt;p&gt;I'd like to have different text styles for the gui.&lt;/p&gt;
&lt;p&gt;I imagine an option dlg.&lt;/p&gt;
&lt;p&gt;Given Numbers for instance as they are now (black)&lt;br /&gt;
For numbers I insert (where I'm sure) for example red and&lt;br /&gt;
bold.&lt;br /&gt;
For numbers, where I'm not sure (trying out) a&lt;br /&gt;
different style.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Tue, 13 Dec 2005 14:54:57 -0000</pubDate><guid>https://sourceforge.netd8798a097608f6014fb5b367d6b807a36884ca08</guid></item></channel></rss>