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.3.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.3-py3-none-any.whl (6.1 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nonebot_plugin_pokemonle-0.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 36e9cf0b50d7264a9377527e530e6e1fbf0797cbb52d6331446bb1121c9ca0e3
MD5 9b8d3a6920bdc0681dcdb151a0f820e1
BLAKE2b-256 fe1bb1ba7f2d96277d38db449eb4ee3fa2f773370b2ed3e2c39ee6234f3df0dd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_pokemonle-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 46b87d176d99caff180b4efb48f1e84c6a43e5f12f664b7c6cd253dd96941246
MD5 2b5f48faf37086ffa2c1a1ec2a18e274
BLAKE2b-256 ffcee9292d3606909c93e6e730ca5f0a33b26901d699b0ad7087d41b3d2b6859

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