Sudoku: Difference between revisions
Content added Content deleted
m (→{{header|Tcl}}: Explain origin and logger) |
m (→Tcl: Explained that you can define more solver rules trivially...) |
||
Line 84: | Line 84: | ||
=={{header|Tcl}}== |
=={{header|Tcl}}== |
||
Adapted from [http://wiki.tcl.tk/19934 a page on the Tcler's Wiki] to use a standard object system. |
Adapted from [http://wiki.tcl.tk/19934 a page on the Tcler's Wiki] to use a standard object system. |
||
<br> |
|||
Note that you can implement more rules if you want. Just make another subclass of <code>Rule</code> and the solver will pick it up and use it automatically. |
|||
{{works with|Tcl|8.6}} |
{{works with|Tcl|8.6}} |
||
<lang tcl>package require Tcl 8.6 |
<lang tcl>package require Tcl 8.6 |