At the start menu, you have the option to choose the difficulty level, associated to a board size. The difficulty level will also determine how many bombs you have to avoid/find in your playthrough. Easy difficulty will generate a 10x10 board with 10 bombs, medium difficulty will generate a 16x16 board with 40 bombs, and hard difficulty will generate a 30x16 board with 99 bombs.
Once you are presented with your board, you can click any cell to start. This will reveal the content of the cell, which is frequently a number. This number indicates how many bombs there are adjacent to that cell, in any of the 8 adjacent cells (horizontally, vertically and diagonally). To aid you in avoiding mines, you can flag cells where you think there might be a mine by pressing the "F" key.
This game was developed by: João Ribeiro ([email protected]), Pedro Valente ([email protected]), João Alves ([email protected]), for the LDTS 2022/2023 course.Our GUI is created/displayed using the Lanterna API, by Google:
http://mabe02.github.io/lanterna/apidocs/3.0/overview-summary.html
For our testing, we use the Mockito library to aid in the construction of mocks and stubs:
https://site.mockito.org/
For some property-based testing we will use Jqwik library
https://jqwik.net/