Skip to main content

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:

...
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.