#
451cbc4a |
|
29-Aug-2007 |
Axel Dörfler <axeld@pinc-software.de> |
* SudokuSolver::ComputeSolutions() can now be called more than once without doubling the solution list. * ComputeSolutions() will now check if solving the Sudoku is affordable for this algorithm (at least 1/6th of the fields must be known). This fixes one part of bug #1435. * SudokuView now checks if the Sudoku is already solved before trying to fill in a value from the solution (and then it did not find a free spot, surprisingly). This fixes the other part of bug #1435. * SudokuView now beeps if there was no solution. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22110 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7bd1d755 |
|
26-Aug-2007 |
Axel Dörfler <axeld@pinc-software.de> |
Applied patch by Fredrik Ekdahl to fix the compilation with GCC 4 - thanks! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22062 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d578543a |
|
25-Aug-2007 |
Axel Dörfler <axeld@pinc-software.de> |
* Added a first game to the image: Sudoku. It comes with a solver and generator for three different levels (from "Very Easy" to "Hard"). Have fun! * Feel free to do a nicer icon! * Stack.h is actually verbatim copy of a kernel header which we might want to move to a more public place (like shared). * ProgressWindow is taken from ShowImage, but adapted to suit different needs. * It seems to trigger a bug in the interface kit or app_server: when moving the mouse around, the right border of a field is sometimes lost. This does not happen in BeOS, and there is actually no code that looks responsible for this - it might be an off by one error in the region code, though? git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22056 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
451cbc4a94f85e8eb1d8923358a409f738d01c17 |
|
29-Aug-2007 |
Axel Dörfler <axeld@pinc-software.de> |
* SudokuSolver::ComputeSolutions() can now be called more than once without doubling the solution list. * ComputeSolutions() will now check if solving the Sudoku is affordable for this algorithm (at least 1/6th of the fields must be known). This fixes one part of bug #1435. * SudokuView now checks if the Sudoku is already solved before trying to fill in a value from the solution (and then it did not find a free spot, surprisingly). This fixes the other part of bug #1435. * SudokuView now beeps if there was no solution. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22110 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7bd1d755c4c002d495862ef482928a2208fa413f |
|
26-Aug-2007 |
Axel Dörfler <axeld@pinc-software.de> |
Applied patch by Fredrik Ekdahl to fix the compilation with GCC 4 - thanks! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22062 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d578543aa6da5eda36934f512fb9ef272d6cb34e |
|
25-Aug-2007 |
Axel Dörfler <axeld@pinc-software.de> |
* Added a first game to the image: Sudoku. It comes with a solver and generator for three different levels (from "Very Easy" to "Hard"). Have fun! * Feel free to do a nicer icon! * Stack.h is actually verbatim copy of a kernel header which we might want to move to a more public place (like shared). * ProgressWindow is taken from ShowImage, but adapted to suit different needs. * It seems to trigger a bug in the interface kit or app_server: when moving the mouse around, the right border of a field is sometimes lost. This does not happen in BeOS, and there is actually no code that looks responsible for this - it might be an off by one error in the region code, though? git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22056 a95241bf-73f2-0310-859d-f6bbb57e9c96
|