Nonebot2 扫雷插件
Project description
nonebot-plugin-minesweeper
适用于 Nonebot2 的 扫雷插件
安装
- 使用 nb-cli
nb plugin install nonebot_plugin_minesweeper
- 使用 pip
pip install nonebot_plugin_minesweeper
配置项
以下配置项可在
.env.*
文件中设置,具体参考 NoneBot 配置方式
minesweeper_default_skin
- 类型:
str
- 默认:
winxp
- 说明:扫雷默认皮肤
使用
以下命令需要加命令前缀 (默认为/
),可自行设置为空
@机器人 + 扫雷 / minesweeper / 扫雷初级 / 扫雷中级 / 扫雷高级
注:若命令前缀为空则需要 @机器人,否则可不@
可使用 -r/--row ROWS 、-c/--col COLS 、-n/--num NUMS 自定义行列数和雷数;
可使用 -s/--skin SKIN 指定皮肤,默认为 winxp;
当前支持的皮肤:narkomania, mine, ocean, scratch, predator, clone, winxp, hibbeler, symbol, pacman, win98, winbw, maviz, colorsonly, icicle, mario, unknown, vista
使用 挖开/open/wk + 位置 来挖开方块,可同时指定多个位置;
使用 标记/mark/bj + 位置 来标记方块,可同时指定多个位置;
位置为 字母+数字 的组合,如“A1”
示例
特别感谢
- mzdluo123/MineSweeper Mirai的扫雷小游戏
- Minesweeper X A minesweeper clone with extra features
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for nonebot_plugin_minesweeper-0.4.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a960a18b8db7697b0f4abc693ad8a4c0f98fb05ecbe5aa4bc225a5aca99c180 |
|
MD5 | 42b6fdf6562abafc42dc996fb7ff3ba3 |
|
BLAKE2b-256 | eb81849a68fe43edd295f3f79b6fc6c626e297490d83f784331a3af78000950c |
Close
Hashes for nonebot_plugin_minesweeper-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ef4b776b04a1b603b06f2fc75e848dc2ccf92ed9cc63a6a45ff35f448991091 |
|
MD5 | 2a4b280e305153c9b8bda09e76f2f17a |
|
BLAKE2b-256 | 479d2457e1bc71b8f9724aac08579ed6499442c2b954ea73cb67246fea1cfa5c |