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.2.tar.gz (4.9 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.2-py3-none-any.whl (6.1 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for nonebot_plugin_pokemonle-0.0.2.tar.gz
Algorithm Hash digest
SHA256 b80a1087a2e4e65c1d136434c3beb2d6602503b8752dc6f3a76e4a8fe6777c71
MD5 c8144db20a29866cf1c307d16f255498
BLAKE2b-256 e9371705f6e8ddf970fb0a750007bc3878e28cc9bd8883f28d2dad2b5a6375a8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_pokemonle-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6cd9a30e042372456b12c8351298f0247e22a30f6d180ba767d5a344b82b59cd
MD5 b8267a7f635a6daab073be11a5ff52f9
BLAKE2b-256 48914c7a9e565c23907376be44c4e498490ab54d580aa914193b5b0f2b92075c

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