Skip to main content

猜宝可梦

Project description

nonebot-plugin-pokemonle

✨ <猜宝可梦> ✨

license PyPI - Version python

nonebot插件版的猜宝可梦,修改自pokemonle

💿 安装

使用 nb-cli 安装 在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装
nb plugin install nonebot-plugin-pokemonle
使用包管理器安装 在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令
pip
pip install nonebot-plugin-pokemonle
pdm
pdm add nonebot-plugin-pokemonle
poetry
poetry add nonebot-plugin-pokemonle
conda
conda install nonebot-plugin-pokemonle

打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入

plugins = ["nonebot_plugin_pokemonle"]

⚙️ 配置

在 nonebot2 项目的 env 文件中添加配置

配置项 必填 类型 默认值 说明
pokemonle_max_attempts int 10 最大尝试次数
pokemonle_gens list [] 世代选择,例如:["第一世代", "第三世代", "第五世代"],空代表都选
pokemonle_cheat bool False 是否开启恶作剧

🎉 使用

猜宝可梦: 开始游戏

直接输入怪物名称进行猜测

结束:结束游戏

📖 说明

游戏目标

通过输入宝可梦名称进行猜测,找出目标宝可梦。每次猜测后,你将获得输入宝可梦的相关信息,帮助你逐步接近答案。

提示颜色说明

绿色高亮 表示该信息与目标宝可梦完全相同。

黄色高亮 表示该信息与目标宝可梦接近但不完全相同。

黄色高亮的触发条件

种族值总和与目标宝可梦的差值 ≤ 50
速度与目标宝可梦的差值 ≤ 10
世代与目标世代相邻(差值 ≤ 1)
进化方式不完全相同但属于相似进化方式(例如使用物品、特定地点、等级、亲密度等)
形态标签两只宝可梦都有地区形态,特殊形态所属地区不同

上下箭头的作用

在种族值总和、速度、世代等数值类信息中,箭头提示你猜测的方向是否正确:

↑:表示你输入的宝可梦的该数值低于目标宝可梦,建议下次猜测选择数值更高的宝可梦。

↓:表示你输入的宝可梦的该数值高于目标宝可梦,建议下次猜测选择数值更低的宝可梦。

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_pokemonle-0.0.7.tar.gz (5.0 MB view details)

Uploaded Source

Built Distribution

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

nonebot_plugin_pokemonle-0.0.7-py3-none-any.whl (6.1 MB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_pokemonle-0.0.7.tar.gz.

File metadata

  • Download URL: nonebot_plugin_pokemonle-0.0.7.tar.gz
  • Upload date:
  • Size: 5.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.24.0 CPython/3.10.0rc1 Windows/10

File hashes

Hashes for nonebot_plugin_pokemonle-0.0.7.tar.gz
Algorithm Hash digest
SHA256 f0a2bc8fa7de12cbd69a2c9e7a6f3ba46e54e3f82266543e9f1b6274f1d0cc22
MD5 64fe5f74792e5bd1cccd387dfa54c0f0
BLAKE2b-256 dd8fd74da94b626d2995669dfc3b8bee90389fa56949c87b4f2e17702bd0c0cf

See more details on using hashes here.

File details

Details for the file nonebot_plugin_pokemonle-0.0.7-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_pokemonle-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 de62d54594d742b99f2321fd33247b8fd68a0135d28643d56f77c2df2cfb1aa5
MD5 a52a79fac09226888c6452cb56335ea8
BLAKE2b-256 00f46f119fcfcfe822e52d487c7f20326004e151bf1d9ff94bd86d778a719ccb

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