Wiki

Clone wiki

logicpuzzle / Kendoku

Kendoku

The puzzle

Fill the cells with the numbers from 1 to SIZE of the puzzle. In the top left corner of a framed area, you will find the result of the specified arithmetic function, which is applied on the entered numbers. The numbers may occur only once in each row and column. The numbers of an area may not necessarily be different when they are in different rows or columns. Here’s a little self-explanatory example:

Kendoku

\begin{center}
  \begin{kendoku}
    \framearea{black}{\tikzpath{1}{1}{8,8,6,2,6,2,4,4}}
    \framearea{black}{\tikzpath{1}{3}{8,6,2,4}}
    \framearea{black}{\tikzpath{1}{4}{8,8,6,2,2,4}}
    \framearea{black}{\tikzpath{2}{2}{8,8,6,6,2,4,2,4}}
    \framearea{black}{\tikzpath{2}{4}{8,8,6,2,2,4}}
    \framearea{black}{\tikzpath{3}{1}{8,8,6,2,2,4}}
    \framearea{black}{\tikzpath{3}{4}{8,8,6,6,2,4,2,4}}
    \framearea{black}{\tikzpath{4}{1}{8,6,6,2,4,4}}
    \framearea{black}{\tikzpath{4}{2}{8,6,6,2,4,4}}
    \framearea{black}{\tikzpath{4}{3}{8,8,6,2,2,4}}
    \framearea{black}{\tikzpath{5}{3}{8,6,2,4}}
    \framearea{black}{\tikzpath{5}{4}{8,6,2,4}}
    \framearea{black}{\tikzpath{5}{5}{8,6,2,4}}
    \setrule{1}{2}{8\times}
    \setrule{1}{3}{5}
    \setrule{1}{5}{4+}
    \setrule{2}{3}{60\times}
    \setrule{2}{5}{2\div}
    \setrule{3}{2}{2-}
    \setrule{3}{5}{75\times}
    \setrule{4}{1}{8+}
    \setrule{4}{2}{1-}
    \setrule{4}{4}{2\times}
    \setrule{5}{3}{1}
    \setrule{5}{5}{2}
  \end{kendoku}
  \hspace{1.5cm}
  \begin{kendoku}
    \framearea{black}{\tikzpath{1}{1}{8,8,6,2,6,2,4,4}}
    \framearea{black}{\tikzpath{1}{3}{8,6,2,4}}
    \framearea{black}{\tikzpath{1}{4}{8,8,6,2,2,4}}
    \framearea{black}{\tikzpath{2}{2}{8,8,6,6,2,4,2,4}}
    \framearea{black}{\tikzpath{2}{4}{8,8,6,2,2,4}}
    \framearea{black}{\tikzpath{3}{1}{8,8,6,2,2,4}}
    \framearea{black}{\tikzpath{3}{4}{8,8,6,6,2,4,2,4}}
    \framearea{black}{\tikzpath{4}{1}{8,6,6,2,4,4}}
    \framearea{black}{\tikzpath{4}{2}{8,6,6,2,4,4}}
    \framearea{black}{\tikzpath{4}{3}{8,8,6,2,2,4}}
    \framearea{black}{\tikzpath{5}{3}{8,6,2,4}}
    \framearea{black}{\tikzpath{5}{4}{8,6,2,4}}
    \framearea{black}{\tikzpath{5}{5}{8,6,2,4}}
    \setrule{1}{2}{8\times}
    \setrule{1}{3}{5}
    \setrule{1}{5}{4+}
    \setrule{2}{3}{60\times}
    \setrule{2}{5}{2\div}
    \setrule{3}{2}{2-}
    \setrule{3}{5}{75\times}
    \setrule{4}{1}{8+}
    \setrule{4}{2}{1-}
    \setrule{4}{4}{2\times}
    \setrule{5}{3}{1}
    \setrule{5}{5}{2}
    \setrow{5}{1,4,3,5,2}
    \setrow{4}{3,2,5,1,4}
    \setrow{3}{5,3,4,2,1}
    \setrow{2}{2,5,1,4,3}
    \setrow{1}{4,1,2,3,5}
  \end{kendoku}
\end{center}

You will find the current release in the Downloads tab and on CTAN.

Documentation (PDF)(Wiki)

Examples & Solutions (PDF)


[Home]

Updated