Sommaire :
cd new make
cd new make mrproper
Choose random seed :
./minesweeper [-r seed]The default grid is a 10x10 size with 10 mines.
Generate a grid with parameters:
./minesweeper [-c "h l m"]Where
hsignify the height,wthe width andmthe number of mines.
The number of minesmmust be lower than the number of tilesl*m.
Generate a map from a map file (.ga):
./mine [filename]If the file doesn't exist a random map will be generated.
You can use multiple arguments at the same time.
The game can be lunch without argument, the program will lunch a 10x10 grid with 10 mines.
Rules are the same as a classic minesweeper.
When the program is launch, the user can :
- Use
left clickto reveal a tile. - Use
right clickto place or remove a flag.
- Save
- The user can save at any moment the game, the save will go in the folder
gridin the filesave.ga.
- The user can save at any moment the game, the save will go in the folder
Laborde Quentin, Kies Rémy

