Minesweeper simulator for simulating AI (used in Pekan Ristek Fasilkom UI 2013)
How to run:
- Extract the package.
- Open terminal or command line.
- Go to the extracted folder, then type: "java MinesweeperSimulator"
There are several field in the frame:
- Width/height: to customize the width and height of the minefield.
- Mines: to customize the number of mine in the minefield (at least 1, at most all of the cell minus 10).
- Seed: to customize the random seed. Useful to simulate the same testcase multiple times. When it equals to -1, the seed is randomized.
- Interval: to change the time interval to invoke the "click" in the minefield (at least 100).
- Start button: to start the simulation
FAQ:
- How does it work? The basic priciple is to turn whole minefield into a bunch of linear equation, and then excecute elemination to fild whether a cell is mine or not.
- Why does sometimes it fails? Sometimes a cell can't be determined whether it is mine or not. If this happen, the program will choose randomly. Of course, if you are minesweeper-player, you will face this kind of situation ;)
- When it fails, what does the crossed mine means? It shows the last location where the program attempted to open, but unfortunately it is a mine.
- can I use this for something? Of course, you may use it for anything but commercial usage.
Contributor:
- Adhitiya Murda Nugraha
- Febriana Wulan Sari
- Felik Junvianto
- Gede Wahyu Adi Pramana
- Irfan Nur Afif
- William Gozali