1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117
|
# solvesudoku package
# Matthew Bertucci 2022/12/1 for v1.0
#include:printsudoku
\sudokusolve{file}
\getproblem{file}
\reduceallcells
\keepreducing
\writegame
\sudsolnfile
\numcluesctr
\difficultyctr
# not in main documentation
\anychangefalse#S
\anychangetrue#S
\asetctr#S
\boxctr#S
\changedfalse#S
\changedtrue#S
\checkboxes#*
\checkcols#*
\checkkeepon#*
\checkrows#*
\checksetforpair{set}#*
\checksimplereductions#*
\checksolution#*
\commentary{text}#*
\createsudsets#*
\deleteboxpairdigits{boxcell}#*
\deletecolpairdigits#*
\deletenumfromset{digit}{set}{cnt}#*
\deleterowpairdigits#*
\digitictr#S
\digitiictr#S
\displaystatus#*
\findboxpair{arg}#*
\findcolpair#*
\findrowpair#*
\firstcharfalse#S
\firstchartrue#S
\fixentry#*
\gatherline{rowstartcell}#*
\getloner{setsum}{cnt}#*
\getnthboxcell{n}{firstcell}{cnt}#*
\hideprogress#*
\ifanychange#S
\ifchanged#S
\iffirstchar#S
\ifkeepon#S
\iflonerchanged#S
\ifnotgotthechar#S
\ifpairchanged#S
\ifsetchanged#S
\ifstilldigits#S
\initialisesuddata#*
\initialsoln#*
\keeponfalse#S
\keepontrue#S
\keepreducingcells#*
\lonecellctr#S
\lonerchangedfalse#S
\lonerchangedtrue#S
\maxrangectr#S
\newknt{name}#*
\notgotthecharfalse#S
\notgotthechartrue#S
\numdigitsctr#S
\numlistctr#S
\numofnuminset{digit}{set}{cnt}#*
\pairchangedfalse#S
\pairchangedtrue#S
\reduceaboxpair{boxcell}#*
\reduceacell#*
\reduceacolpair{colcell}#*
\reducearowpair{rowcell}#*
\reducebox{box}{digit}#*
\reduceboxloners#*
\reduceboxpairs#*
\reducecol{col}{digit}#*
\reducecolloners#*
\reducecolpairs#*
\reducedctr#S
\reducelonerboxcell{boxcell}{digit}#*
\reducelonercolcell{colcell}{digit}#*
\reducelonerrowcell{rowcell}{digit}#*
\reduceloners#*
\reducepairs#*
\reducerow{row}{digit}#*
\reducerowloners#*
\reducerowpairs#*
\secondctr#S
\setchangedfalse#S
\setchangedtrue#S
\settonum{set}{cnt}#*
\settonumcnt#S
\showprogress#*
\solcnt#S
\stilldigitsfalse#S
\stilldigitstrue#S
\sudaline#*
\sumboxsets#*
\sumcolsets#*
\sumctr#S
\sumrowsets#*
\tempcnty#S
\tempcntz#S
\tenscnt#S
\tmpsetansctr#S
\tmpsetctr#S
\toprangectr#S
\typelonestatus#*
\typelonestatusX#*
\typesimplestatus#*
\typesimplestatusX#*
\useknt{name}#*
|