Open RasmusAntons opened 4 months ago
This adds the option to configure a fixed distribution of goals for a difficulty. This is a suggestion for #14
For example, hard.json can look like this:
hard.json
{ "distribution": [ 0.0, 0.2, 0.4, 0.4, 0.0 ], "number": 3 }
A game using that difficulty will consist of 20% easy, 40% medium and 40% hard goals. This file can also be generated with absolute 5x5 numbers:
BingoDifficulty.builder(BingoDifficulties.HARD).number(3).distribution(0, 5, 10, 10, 0).build()
Caveats:
This adds the option to configure a fixed distribution of goals for a difficulty. This is a suggestion for #14
For example,
hard.json
can look like this:A game using that difficulty will consist of 20% easy, 40% medium and 40% hard goals. This file can also be generated with absolute 5x5 numbers:
Caveats: