GreyOrange | Principal Software Engineer | Gurgaon

Random Board Generator

Design snake and ladder board generator such that the board output is deterministic and every time with same no.of cells the board generator should generate different board everytime.
Don't use rabdom function as in case of collions, boards will be deterministic.We, do not want the board to be deterministic anytime. Even with same no.of cells, the board should be different evertime.
Also, dicuss startegy to unit test this as the output is non-deterministic.

Comments (0)