This is a course project for Data Structures Lab, spring 2021. During the course I built a bot that assists the player in minesweeper by showing preferable moves and can also be set to play the game independently. I added the bot to this minesweeper template, so only selects parts in the minesweeper.bot
package are my code.
In this project I learned to reflect on my coding process through the weekly reports. This project was also great practice in reading others' code and building on top of it. I was apprehensive about choosing this topic for my course project, since the teacher warned about students having had trouble completing the project. I'm proud of myself for persevering with it, even though progress was slow and painful at times.
-
Weekly reports
$ ./gradlew run
$ ./gradlew test
and for coverage
$ ./gradlew jacocoTestReport
Then see build/reports/jacoco/test/html/index.html
. Only coverage of the minesweeper.bot
and minesweeper.structures
packages is reported.
$ ./gradlew check
Then see build/reports/checkstyle/main.html
.
$ ./gradlew javadoc
Then see build/docs/javadoc/index.html
.
$ ./gradlew shadowJar
It will be located in build/libs/
as minesweeper-helper.jar
.