- Left click to step on a spot
- Right click to mark a spot as a bomb
- Double click to open all 8 spots nearby a target (except ones already marked as bombs using right clicks)
This is a work in progress
// to start a new game
new Game(cols, rows, bombs, [emptyemoji, bombemoji, flagemoji, starteremoji], twemojiOrNot)
// for example:
new Game(10, 10, 10, ["๐ฑ", "๐ฅ", "๐ฉ", "โป๏ธ"], true)
new Game(16, 16, 30, ["๐ฑ", "๐", "๐ฃ", "๐"], false)
- Mobile!