Many major changes:
- Added utility functions to get
height
,width
and number of mines from aMineSweeper
object. - Added support for
wasm
, except for therand
crate which is not compatible withwasm
. - Added format option
{:#}
to print the board as emojis. - Added format option
{:.0}
to print the board with row and column numbers. - Fixed an error that swapped
height
andwidth
in the constructor. - Improved the opening algorithm to make it propagate from safe opened cells: cells that are already open but surrounded by enough flags will open their closed neighbors.
Added hash implementation of the game. Added support for seeded random generator.
Initial release. The matrix implementation is ready to use.