HoDoKu Solving Technique Index: Example for "XY-Wing"
Original sudoku:
....6........1.863..3..9...9.4......3.....7.457.82.........658.69...7.......4..3.
Use the following line if you want to load the sudoku in HoDoKu:
:0800:2:+8..+36.+9....+9.1.863.+63.+89..+59+24+6+7+3+1+5+83+8+6+9+5+17+2457+182+4+3+9+6+4+3+2+1+9658+769+8+5+37......+24+8+63+9::226:
The following representation can be pasted in most Sudoku programs:
.--------------.-----------.-------------. | 8 145 57 | 3 6 25 | 9 147 12 | | 27 45 9 | 47 1 25 | 8 6 3 | | 127 6 3 | 47 8 9 | 24 147 5 | :--------------+-----------+-------------: | 9 2 4 | 6 7 3 | 1 5 8 | | 3 8 6 | 9 5 1 | 7 2 4 | | 5 7 1 | 8 2 4 | 3 9 6 | :--------------+-----------+-------------: | 4 3 2 | 1 9 6 | 5 8 7 | | 6 9 8 | 5 3 7 | 24 14 12 | | 17 15 57 | 2 4 8 | 6 3 9 | '--------------'-----------'-------------'
Representation of the step:
.----------------.------------.-------------. | 8 145 *57 | 3 6 *25 | 9 147 12 | | *27 45 9 | 47 1 -25 | 8 6 3 | | 127 6 3 | 47 8 9 | 24 147 5 | :----------------+------------+-------------: | 9 2 4 | 6 7 3 | 1 5 8 | | 3 8 6 | 9 5 1 | 7 2 4 | | 5 7 1 | 8 2 4 | 3 9 6 | :----------------+------------+-------------: | 4 3 2 | 1 9 6 | 5 8 7 | | 6 9 8 | 5 3 7 | 24 14 12 | | 17 15 57 | 2 4 8 | 6 3 9 | '----------------'------------'-------------' XY-Wing: 5/7/2 in r1c36,r2c1 => r2c6<>2
Copyright © 2008-12 by Bernhard Hobiger
All material on this page is licensed under the GNU FDLv1.3.