# logicpuzzle

A LaTeX style file for typesetting logic puzzles

schatzsuche

# Differences

This shows you the differences between two versions of the page.

 — schatzsuche [2015/09/06 09:52] (current) 2013/05/10 16:45 kleberj created schatzsuche 2013/05/10 16:45 kleberj created schatzsuche Line 1: Line 1: + <​markdown>​ + Schatzsuche + =========== + The environment enables the user to typeset Schatzsuche logic puzzles. It's a variant of Minesweeper,​ just with diamonds instead of mines. Draw a diamond in some cells of the grid. The number in a cell indicates how many of the eight neighboring cells contain a diamond. A numbered cell does not contain a diamond. Here’s a little self-explanatory example: + + ![Schatzsuche](http://​i.imgur.com/​iOYEiHj.png) + + + \begin{center} + \begin{schatzsuche} + \framepuzzle + \setrow{5}{{},​1} + \setrow{4}{{},​{},​3,​3} + \setrow{3}{3,​{},​4,​2} + \setrow{2}{{},​{},​{},​{},​0} + \setrow{1}{{},​2} + \end{schatzsuche} + \hspace{1.5cm} + \begin{schatzsuche} + \framepuzzle + \setrow{5}{{},​1,​{},​\Diamond,​\Diamond} + \setrow{4}{{},​\Diamond,​3,​3,​\Diamond} + \setrow{3}{3,​\Diamond,​4,​2} + \setrow{2}{{},​\Diamond,​\Diamond,​{},​0} + \setrow{1}{{},​2} + \end{schatzsuche} + \end{center} + +