Human Resource Machine inbox generator for testing and benchmarking solutions.
Generates a random inbox that is appropriate for a given level.
levelNumber - Number. The level number (1-41).
returns - Array. If the generator doesn't support the given level, a null
is returned.
seed - Number. Seeds the random number generator to consistently get the same inbox configurations on subsequent .generate()
calls.
var generator = require('hrm-level-inbox-generator');
// Tripler Room
var inbox = generator.generate(8); // [ 2, 4, 0, -5 ]