Skip to content

A bot that assists the player in Minesweeper, or plays autonomously. Built on top of an existing minesweeper game template. Course project for Data structures lab.

License

Notifications You must be signed in to change notification settings

maariaw/minesweeper-helper

Repository files navigation

Minesweeper Helper

Build Status codecov

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.

Documentation

Release

Final submission

Command line functions

Running

$ ./gradlew run

Testing

$ ./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.

Checkstyle

$ ./gradlew check

Then see build/reports/checkstyle/main.html.

JavaDoc

$ ./gradlew javadoc

Then see build/docs/javadoc/index.html.

Creating an executable jar

$ ./gradlew shadowJar

It will be located in build/libs/ as minesweeper-helper.jar.

About

A bot that assists the player in Minesweeper, or plays autonomously. Built on top of an existing minesweeper game template. Course project for Data structures lab.

Resources

License

Stars

Watchers

Forks

Packages

No packages published