\n");
if (document.board.keep[0].checked) msg.document.write("What is Sudoku? Wikipedia
");
else msg.document.write("What is Sudoku? Wikipedia
");
msg.document.write("The buttons: ");
msg.document.write("Check to validate your own solving. ");
msg.document.write("Hint gives some good advice. ");
msg.document.write("Step fills one square. ");
msg.document.write("Available view the available numbers and do the reduces by hand. ");
msg.document.write("Solve to solve the Sudoku. ");
msg.document.write("Design to redesign the board. ");
msg.document.write("Clear clears the board. ");
msg.document.write("View the Sudoku in a printable form. ");
msg.document.write("Help this Help. ");
msg.document.write("Break to break a long loop. ");
msg.document.write("Random creates a new problem, or makes an old one harder. ");
msg.document.write("No... creates a problem with one digit missing. ");
msg.document.write("Pattern... creates a problem with different pattern. ");
msg.document.write("Symmetry... to create problem with different types of symmetry. ");
msg.document.write("Count Down creates a problem where each type of digits in some random order are removed as much as possible. ");
msg.document.write("Save saves the board in the textarea above it. ");
msg.document.write("Restore restores the board from the textarea above it. ");
msg.document.write("The "+sampleslast+" unmarked buttons contain some samples. ");
// whlpsamp=samplesgood-sampleslast;
// if (sampleslength>sampleslast) msg.document.write("There are "+whlpsamp+" more samples in a second window. ");
msg.document.write("There are more samples in a second window. ");
msg.document.write(" How the rating is measured, if only one solution exist: ");
msg.document.write("Only using simple logic, 0 points. ");
msg.document.write("If some sort of reduce are used the rating is that the highest of: ");
msg.document.write("- Reduce due to doubles, 1 point. ");
msg.document.write("- Reduce due to triples, 2 points. ");
msg.document.write("- Reduce due to quadruples, 3 points. ");
msg.document.write("- Reduce due to the line/region crossings, 3 points. ");
msg.document.write("- Reduce due to four lines crossings, 4 points. ");
msg.document.write("The program only uses as high ranked reduce method as needed. ");
msg.document.write("If you had to use the one solution check to solve the Sudoku, the rating is 5 points. ");
msg.document.write("So the rating is measured 0 to 5. ");
msg.document.write("The reduces due to doubles, triples and quadruples are of two types. ");
msg.document.write("
Statistics and Methods
");
msg.document.write("The numbers over the textarea are mostly used under the Random/No/Pattern/Symmetry/Count Down processing to show position, number of numbers and rating (or pattern types F0-F"+fftablength+", X0-X"+sftablength+", P0-P"+pftablength+", O0-O"+oftablength+"or Y0-?). ");
msg.document.write("The Pattern: Your Own makes an eternal search with a pattern of your own, empty positions represents empty positions. ");
msg.document.write("Random/No/Pattern/Count Down are always optimal, there can be no less numbers. Symmetry is optimal in the sence that if it is made more optimal it will lose in symmetry. ");
msg.document.write("Brute Force: counts Brute Force solving. ");
msg.document.write("Scannings: counts every time the Sudoku board is processed when using simple logic. ");
msg.document.write("
How Random works
");
msg.document.write("Phase 1. ");
msg.document.write("In the first phase of Random, No, Pattern, Symmetry and Count Down numbers are removed if there is no solution. ");
msg.document.write("If there are more then one solution numbers are added. ");
msg.document.write("If numbers are added the futher solving only uses Simple logic. ");
msg.document.write("If more then "+restartrandom+" scannings are used the first number is removed and the Random restarts. ");
msg.document.write("Phase 2. ");
msg.document.write("Now when a solvable puzzle is established the second phase starts. ");
msg.document.write("If a positions can be removed without the puzzle being unsolvable it will be done, when Symmetry is processed more then one number could be removed at the same time. ");
msg.document.write("
Simple logic
");
msg.document.write("Hits on 1 to 9: only one number is missing when checking a position and the lines/region it is part of. ");
msg.document.write("Hits on horizontal/Vertical/Region: a number cannot be in any position in a line or a region but just one.
");
msg.document.write("
Reduce
");
msg.document.write("Simple logic gives possible numbers in the empty position, the reduce methods can remove more of thoose numbers. ");
msg.document.write("Reducecan: counts every time the Sudoku board is processed when using any reduce method.
");
msg.document.write("Reduces on doubles/triplets/quadruples: ");
msg.document.write("double: the numbers x and y can be found in two positions in a line or region. ");
msg.document.write("triple: the numbers x, y and z can be found in three positions, at least two of them in each position in a line or region. ");
msg.document.write("quadruple: the numbers x, y, z and w can be found in four positions, at least two of them in each position in a line or region. ");
msg.document.write("method 1: there are no other numbers in the mentioned positions, then those numbers can be removed from the other positions in the line or region. ");
msg.document.write("method 2: the numbers are in no other positions then the mentioned ones, the other numbers can be removed from the mentioned positions.
");
msg.document.write("Reduces on line-region crossings: the two not common parts of a line-region crossing are mutual possible.
");
msg.document.write("Reduces on four lines crossings: two parallell lines each have the number x twice as a possibility, if two perpendicular lines have their crossings in the four positions with the x:s then all other possible x on those perpendicular lines can be removed. ");
msg.document.write("
Search methods
");
msg.document.write("Influence the search order is: first the positions that affects the most. ");
msg.document.write("Possibility the search order is: first the positions with fewest possibilities. ");
msg.document.write("Random the search order is: random. ");
msg.document.write("If you think the Scannings runs away too much use the Break and try a another Search method. ");
msg.document.write("In the first phase of Random, No, Pattern, Symmetry and Count Down the Random method is used, in the second phase the not needed numbers are droped at random. ");
msg.document.write("\n