Creating New Mode
Locating mode in the config
Locating your mode section in the config:
...
mode:
easy:
displayName: "Easy" # Optional
type: TOTAL_MINES
value: 10
medium:
type: TOTAL_MINES
value: 20
hard:
type: TOTAL_MINES
value: 30
...
Adding new mode config
For example, adding a new mode:
- called
supereasy - display name is
Super Easy - difficulty type will be mines density
- 5% of the board will be mines
...
mode:
easy:
displayName: "Easy" # Optional
type: TOTAL_MINES
value: 10
medium:
type: TOTAL_MINES
value: 20
hard:
type: TOTAL_MINES
value: 30
supereasy:
displayName: "Super Easy"
type: MINES_DENSITY
value: 0.05
...
What is the type in the config?
The type is the config is difficulty type, you can learn more about that in Difficulty Type.