A small compiler from ascii to svg, representing minesweeper board
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Démineur_files
Images des mathématiques_files
svg
.gitignore
Démineur.html
Images des mathématiques.html
LICENSE
Non.ms~
Readme
Readme~
dupliquer.ms
dupliquer.ms~
dupliquer.png
démineur
démineur~
et.ms
et.ms.svg~
et.ms~
et.png
et~
example.ms~
fil.ms
fil.ms~
fil.png
fil_bombe.ms
implies
implies.ms
minesweeper_compiler.py
minesweeper_compiler.py~
minesweeper_complier.py~
non.ms
non.ms.svg~
non.ms~
non.png
non_fil.ms
plateau.png
quart de tour.png
quart_all.ms
quarter.ms
quarter.ms~
shift.ms
shift.ms~
shift.png
slide.pdf
test.py
test.py~
variable.ms
variable.png
variable_inverse.ms
variable_inverse.ms~

Readme

This program takes a list of argument, which are name of files and compile them to minesweeper fields in svg.
Each output name is equal to the name of the input, with .svg added as extension.


Each line in the text descirption correspond to a line in the minesweeper.
A number from 0 to 8 corresponds to the same number shown on the field.
. corresponds to a bomb warning.
_ corresponds to an empty case whose limit must be drawn.
Empty spaces are not considered. Hence even the limit of their cases are not drawn.



Letters non standard in minesweepers, but usefull for the purpose of the author can also be used.
… or , corresponds to three horizontal dots. 
⋮ or :, corresponds to three vertical dots.