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
Metadata
Release files for nonebot_plugin_minesweeper 0.4.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nonebot_plugin_minesweeper-0.4.2.tar.gz | 104.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nonebot_plugin_minesweeper-0.4.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 211.3 kB
Release files / nonebot_plugin_minesweeper-0.4.2.tar.gz
| Download URL | nonebot_plugin_minesweeper-0.4.2.tar.gz |
|---|---|
| Size | 104.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
579d02201b91b64c1cad80c7f74055e27daf2b0005d3e8da51d0d1dbf17bb92f
|
|
BLAKE2b-256 checksum How to use checksums |
9a1df48961030b205cc4c3b8032c301703e431a24e14f0eb0237e52810405722
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.4 CPython/3.11.0 Linux/6.5.0-1025-azure
|
Release files / nonebot_plugin_minesweeper-0.4.2-py3-none-any.whl
| Download URL | nonebot_plugin_minesweeper-0.4.2-py3-none-any.whl |
|---|---|
| Size | 106.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f8fc64baccda3e8b449844c9ebe51ae39abf629d118a27dda849af5258d56230
|
|
BLAKE2b-256 checksum How to use checksums |
f1ef754df6d75fb78378cb59019f80dcea25a3431065cc16cf3f312f410512cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.4 CPython/3.11.0 Linux/6.5.0-1025-azure
|