CTAN
Bitbucket
jkLaTeX
TeXdoku
——
The TeX community aggregator
- An error occurred while fetching this feed: http://www.texample.net/feeds/community/
Impressum / Datenschutzerklärung
CTAN
Bitbucket
jkLaTeX
TeXdoku
——
The TeX community aggregator
Impressum / Datenschutzerklärung
The environment enables the user to typeset Minesweeper logic puzzles. Draw a mine in some cells of the grid. The number in a cell indicates how many of the eight neighboring cells contain a mine. A numbered cell does not contain a mine.
\begin{center}
\begin{minesweeper}
\framepuzzle
\setrow{5}{{},1}
\setrow{4}{{},{},3,3}
\setrow{3}{3,{},4,2}
\setrow{2}{{},{},{},{},0}
\setrow{1}{{},2}
\end{minesweeper}
\hspace{1.5cm}
\begin{minesweeper}
\framepuzzle
\setrow{5}{{},1,{},\Mine,\Mine}
\setrow{4}{{},\Mine,3,3,\Mine}
\setrow{3}{3,\Mine,4,2}
\setrow{2}{{},\Mine,\Mine,{},0}
\setrow{1}{{},2}
\end{minesweeper}
\end{center}