An open API service indexing awesome lists of open source software.

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.

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
}
```