Skip to main content

这是利用 QQ 机器人复刻 计算器:游戏 的一个插件。通过给出的操作方式由当前数字达到计算目标。

Project description

NoneBotPluginLogo

NoneBotPluginText

nonebot-plugin-calc-game

✨ 利用 QQ 机器人复刻 计算器:游戏 ✨

license pypi python

📖 介绍

这是利用 QQ 机器人复刻 计算器:游戏 的一个插件。游戏玩法:通过给出的操作方式由当前数字达到计算目标。目前有 319 关。

目前仅支持 onebot.v11。

部分原版答案请见 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"]

⚙️ 配置

无必填配置。

🎉 使用

指令表

指令 权限 需要@ 范围 说明
/calc 群员 群聊 随机抽取一个谜题
/calc [num] 群员 群聊 抽取指定谜题
/calc 帮助 群员 群聊 发送游戏规则
/calc 结束 群员 群聊 结束当前谜题
/calc [操作方式] 群员 群聊 发送对应操作方式的介绍

效果图

📄 许可证

本项目使用 MIT 许可证开源。

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nonebot_plugin_calc_game-0.2.0.tar.gz (14.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nonebot_plugin_calc_game-0.2.0-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_calc_game-0.2.0.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_calc_game-0.2.0.tar.gz
Algorithm Hash digest
SHA256 d48e1506582f9fdf232476642adca0008b6148982d375b697efa18f5287f2acc
MD5 4ede662bd624e1b70ef4ef83c2137b9e
BLAKE2b-256 3dc8d8e22aaf16794a977f04269d46bdc7cd94a42fbc957bda920f295e55cb43

See more details on using hashes here.

File details

Details for the file nonebot_plugin_calc_game-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_calc_game-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ab0c715f6a67b418de4f998c5bf2a0ea15b6b3e883e8622a01319e11ac123821
MD5 488eed46adbe00e7b35d73e4ef25ff70
BLAKE2b-256 c12926e8088846c2709e2b5b37530ba3fcdbd293af240af149374026f0a3ec33

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page