Nonebot2 扫雷插件
Project description
nonebot-plugin-minesweeper
适用于 Nonebot2 的 扫雷插件
安装
- 使用 nb-cli
nb plugin install nonebot_plugin_minesweeper
- 使用 pip
pip install nonebot_plugin_minesweeper
使用
以下命令需要加命令前缀 (默认为/
),可自行设置为空
@机器人 + 扫雷 / 扫雷初级 / 扫雷中级 / 扫雷高级
注:若命令前缀为空则需要 @机器人,否则可不@
可使用 -r/--row ROW 、-c/--col COL 、-n/--num NUM 自定义行列数和雷数;
可使用 -s/--skin SKIN 指定皮肤,默认为 winxp;
当前支持的皮肤:narkomania, mine, ocean, scratch, predator, clone, winxp, hibbeler, symbol, pacman, win98, winbw, maviz, colorsonly, icicle, mario, unknown, vista
使用 挖开/open + 位置 来挖开方块,可同时指定多个位置;
使用 标记/mark + 位置 来标记方块,可同时指定多个位置;
位置为 字母+数字 的组合,如“A1”
或使用 minesweeper
指令:
minesweeper [-r --row ROW] [-c --col COL] [-n --num NUM] [-s --skin SKIN] [--show] [--stop] [--open POSITIONS] [--mark POSITIONS]
示例
特别感谢
- 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.1.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4a9ab81bb20da2fe65634d9ddebfd1d87ae000e04ba7241dab09321e0a8edff |
|
MD5 | a18c18806827debd6c386c1590942072 |
|
BLAKE2b-256 | 133dade558ca6be4a8e208ddc2c731eb006bd01e7eccfc01e46bfe8a8460f52b |
Close
Hashes for nonebot_plugin_minesweeper-0.1.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26d0463d5a247b4fb28aa407e41b89e9cd580e0626c636e0158b7355742170a9 |
|
MD5 | 0daa687d6aba93c56bec160e92f573ba |
|
BLAKE2b-256 | 4c06b1c84f6b5aed28d8fc9a75fc0c058c030e888bb6a9f3fb4f82ad0e4b4d23 |