https://github.com/doc94/discordminesweeperlib
Library forked from https://github.com/NurMarvin/MineSweeperBot to make Minesweeper games in discord.
https://github.com/doc94/discordminesweeperlib
discord java java-8 minesweeper minesweeper-game
Last synced: 2 months ago
JSON representation
Library forked from https://github.com/NurMarvin/MineSweeperBot to make Minesweeper games in discord.
- Host: GitHub
- URL: https://github.com/doc94/discordminesweeperlib
- Owner: Doc94
- License: mit
- Created: 2019-07-06T23:52:14.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T11:33:51.000Z (over 2 years ago)
- Last Synced: 2025-10-07T13:52:57.298Z (9 months ago)
- Topics: discord, java, java-8, minesweeper, minesweeper-game
- Language: Java
- Size: 4.88 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Discord MineSweeper Library
## Import
```xml
jitpack.io
https://jitpack.io
com.github.Doc94
DiscordMinesweeperLib
master-SNAPSHOT
```
## Use
```java
try {
int defaultDifficulty = 30;
int defaultWidht = 10;
int defaultHeight = 10;
MinesweeperBoard board = new MinesweeperBoard(defaultDifficulty,defaultWidht,defaultHeight);
String strGame = board.build(); //The game builded to use in embed description or message of discord.
} catch (MinesweeperBoardException e) {
//If the values cause any issue with the rules of the Class
}
```