Optional task in 1049-INF
Game Restrictions:
- The board must be quadratic, with side length of N.
- There must be N mines on a board with dimensions N x N.
- N must be greater, or equal to 2.
Settings for function named MonteCarlo:
- N is the max board size
- R is the amount of repetitions
MonteCarlo returns a function based on this:
and the algorithm is based on this: