A Flutter Minesweeper game.
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
To install on real device(s). Please make sure your device is connected to develop machine. For iOS you need to log in a valid iOS developer account to doe code signing.
Then run below command to install on the device:
flutter run --release -d <deviceId>
This project uses an array of int to represent the state:
// 9, checked cell with no neighbor bomb
// 1-8, checked cell with the number of neighbor bombs
// 0, unchecked
// -1, unchecked bomb
// -2, marked bomb correct
// -3, marked bomb incorrect
// -4, clicked bomb fail the game