The QSudoku is application for generating and solve sudoku puzzles.
Currently QSudoku is not designed for playing sudoku game (i.e. solving puzzle by hand). This feature is planed for the next version.
Author is Yulia Shabunio
Russia, Yekaterinburg
Program licensed undo GPL.
Sudoku is just a number puzzle made up of a standard 9x9 standard grid, which is made up in turn of nine smaller grids of 3x3. It is also known as Number Place. The rules are simple – you must add a number from 1 to 9 to each empty square until the grid is full. No number can be repeated in any one line, any column or any small 3x3 grid. Given a handful of numbers to start with, it should be possible to complete the grid, and if the puzzle has been compiled correctly, there will be only one solution. For larger puzzles, the range of numbers and dimensions of the grid need to increase. For example, a 16x16 grid might need to use 0–9 and then A-F to give you 16 characters.
With QSudoku you can
QSudoku 0.5 support puzzles 2*2*2*2, 3*3*3*3, 4*4*4*4 and 5*5*5*5.
On edit mode you can see on desk only empty cells and cells this initial characters. Cell with blue frame is current. You can move it by mouse or keyboard and enter new initial it's that pozition. | ![]() |
After success solving puzzle empty cells on the board filled with blue italic characters. But some black symbols became gray. That's why whey are not needed to solve puzzle, they can by deduced from others. You can delete gray elements in edit mode, and resulting solution is not changed. | ![]() |
With buttin View solve history you can switch to view history mode. In this mode you can move throw solving process by history buttons.
Each step, the changed item is highlighted marking the row, column and square with different colors.
In this mode you can see next item types:
If history is very-very long (more than 1000 guesses and cancels), it will bw shown not entirely – only first 1000 guesses and cancels.
QSokuku can read and save puzzles in simple text format. It saves and load only task, not solution (more precisely solution can be solved, but can not be loaded). XML support with save/load solution and state is planned for the next version.
Format description:
Examples of *.txt files, that can be loaded by QSudoku:
# 1 6 # 4 3 # # #
# # # # 6 1 # # 7
# # # 7 5 # # # 8
8 2 # # # # 4 # #
1 9 7 # # # 5 3 6
# # 3 # # # # 8 9
9 # # # # 5 # # #
2 # # 9 8 # # # #
# # # 1 3 # 7 9 #
%16%43```
''''61''7
\\\75///8
82@@@@4$$
197'''536
^^3~~~~89
9((((5)))
2++98----
|||13"79"
_16_43___
____61__7
___75___8
82____4__
197___536
__3____89
9____5___
2__98____
___13_79_
SOLUTION.
716843925
589261347
342759168
825396471
197428536
463517289
934675812
271984653
658132794
Last example is format, that used by QSudoku to save puzzles.
QSudoku range puzzles on easy, medium and hard.
Easy sudoku can be solved, using only sudoku definition no number can be repeated in any one line, any column or any square. So if you are careful, you can solve easy sudoku from number to number, all are exactly deduced with one easy rule.
Medium sudoku can be solved without guesses too. But you must keep in mind two rules, where second one is not so easy test on real desk. It read as follows In each row, column and square must by all distinct numbers. I can't solve sudoku this way, and on medium puzzles I do some guesses, but computer do not need it.
Hard puzzles force computer to make guesses. It is interesting to see, how computer solve hard puzzles. With some tasks it go back many times (especially with 5*5*5*5 desk sizes).