https://github.com/bclindner/go-discord-minesweeper
A Discord bot that makes minesweeper boards.
https://github.com/bclindner/go-discord-minesweeper
Last synced: about 1 month ago
JSON representation
A Discord bot that makes minesweeper boards.
- Host: GitHub
- URL: https://github.com/bclindner/go-discord-minesweeper
- Owner: bclindner
- Created: 2019-02-02T17:15:28.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-02T18:23:10.000Z (over 7 years ago)
- Last Synced: 2025-02-26T17:47:32.666Z (over 1 year ago)
- Language: Go
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# go-discord-minesweeper
This is a simple Discord bot that generates Minesweeper boards.
# Usage
Download the binary or compile the source, then put your bot token in a
`config.json` file in the same directory as the bot:
```json
{
"token": ""
}
```
Launch the bot, and type `!minesweeper` anywhere the bot has access to, and it
should spit out a perfectly workable 10x10 Minesweeper board with 10 mines.
# Advanced Usage
You can request a custom grid by typing `!minesweeper
`. It may refuse your request if the grid is too big, or if
more mines have been requested than cells (resulting in a literally unusable
grid).
You can set override the default grid settings in the `config.json` file:
```json
{
"token": "",
"defaultGridSize": [10, 10],
"defaultMines": 10
}
```