Clone wiki

logicpuzzle / SunAndMoon

Sun and Moon

The environment enables the user to typeset 'Sun and Moon' logic puzzles (aka Sternenhaufen, Munraito, ...)
Enter exactly one star and one dark cloud in each row and each column of the grid, so that the planets are illuminated as specified. The stars shine horizontally or vertically arbitrarily far, but not through a planet or a dark cloud.

sun and moon puzzle


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

Documentation (PDF)

Examples & Solutions (PDF)