这是利用机器人复刻 计算器:游戏 的一个插件。通过给出的操作方式由当前数字达到计算目标。
Project description
📖 介绍
这是利用机器人复刻 计算器:游戏 的一个插件。游戏玩法:通过给出的操作方式由当前数字达到计算目标。目前有 319 关。多平台支持。
部分原版答案请见 solve 文件夹。
反馈请加作者 QQ:2378975755。注明 插件反馈。若有关卡投稿亦可加 QQ,注明 关卡投稿。关卡应包含完整的关卡要素,并给出最优解。
感谢插件 nonebot-plugin-txt2img 提供的文字转图片功能。
💿 安装
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-calc-game
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot-plugin-calc-game
pdm
pdm add nonebot-plugin-calc-game
poetry
poetry add nonebot-plugin-calc-game
conda
conda install nonebot-plugin-calc-game
打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入
plugins = ["nonebot_plugin_calc_game"]
⚙️ 配置
无必填配置。
| 配置项 | 必填 | 默认值 | 说明 |
|---|---|---|---|
calcgame_picfontsize |
否 | 42 | 图片输出中字符的大小 |
🎉 使用
指令表
进入游戏前:
| 指令 | 权限 | 需要@ | 范围 | 说明 |
|---|---|---|---|---|
/calc |
群员 | 否 | 群聊 | 随机抽取一个谜题 |
/calc <num> |
群员 | 否 | 群聊 | 抽取指定谜题 |
/calc 帮助 |
群员 | 否 | 群聊 | 发送游戏规则 |
进入游戏后:
| 指令 | 权限 | 需要@ | 范围 | 说明 |
|---|---|---|---|---|
<操作方式> |
群员 | 否 | 群聊 | 执行你发送的操作方式 |
帮助 |
群员 | 否 | 群聊 | 发送本关所涉及操作方式的用法 |
退出 |
群员 | 否 | 群聊 | 退出本局游戏 |
效果图
📄 许可证
本项目使用 MIT 许可证开源。
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nonebot_plugin_calc_game-1.0.1.tar.gz.
File metadata
- Download URL: nonebot_plugin_calc_game-1.0.1.tar.gz
- Upload date:
- Size: 16.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c59c1682a4d3ad006db70bd4abe751fdb260e00fd223d06eed539463b9fa910c
|
|
| MD5 |
0c1e521a103a8e9d419b942917a6912f
|
|
| BLAKE2b-256 |
55a99126b2973c526edcf8bd45c248304d63c4b8b91daad3935552249144bfdb
|
File details
Details for the file nonebot_plugin_calc_game-1.0.1-py3-none-any.whl.
File metadata
- Download URL: nonebot_plugin_calc_game-1.0.1-py3-none-any.whl
- Upload date:
- Size: 17.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
690f6aceff7d441976ab37bc496118c17978a371c1fa41c5a54c0742f0fe6017
|
|
| MD5 |
7c9cd85b5420005a1b29d6b5fa9b070f
|
|
| BLAKE2b-256 |
a2462531e9472fcd778ffbf25630daf9e76c7b62ebb4f999a694e5895c436952
|