Skip to main content

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

Project description

NoneBotPluginLogo

NoneBotPluginText

nonebot-plugin-calc-game

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

license pypi python

📖 介绍

这是利用机器人复刻 计算器:游戏 的一个插件。游戏玩法:通过给出的操作方式由当前数字达到计算目标。目前有 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


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-1.0.0.tar.gz (16.3 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-1.0.0-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nonebot_plugin_calc_game-1.0.0.tar.gz
  • Upload date:
  • Size: 16.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for nonebot_plugin_calc_game-1.0.0.tar.gz
Algorithm Hash digest
SHA256 171d5716e602dca47460a6c6b65562cf5ff4c7679257c4f4c7b9ebe2618b38e4
MD5 ddb71d9385af529aa8d490af677ac543
BLAKE2b-256 15d1add0cd9d3f9cf7e0432cf4298e9e7c4642755e45eb84e148863b0e98c1da

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_calc_game-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eb018364e509186c29683b2b1e7b4ddc51fffc2586016d0259b9e492cc17bb01
MD5 5665ddf2133323f49b8d799892907b9d
BLAKE2b-256 558b9f1ecdc53053d39b5f6435cf1540867e92057a7fd9171a93a32cce8fcb51

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