说明
本项目用于以交互形式完成游戏玩法恶魔轮盘赌(Buckshot Roulette)的玩法,可以在群聊中使用,一个群同时只能存在一场对局
由于“赌”在国内部分平台是被封禁的,所以文案均改为“恶魔轮盘”
安装
以下提到的方法 任选其一即可
[推荐] 使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot_plugin_BR
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot_plugin_BR
pdm
pdm add nonebot_plugin_BR
poetry
poetry add nonebot_plugin_BR
conda
conda install nonebot_plugin_BR
指令
游戏外
- br开始| br加入 —— 开始游戏
- br帮助 —— 查看帮助
游戏中
- 开枪 —— (前提:加入游戏)进行攻击判定
- 结束游戏 —— (前提:在对局中,或者超级管理员)结束当前会话在进行的游戏
- 使用道具 xxx(目前道具:刀 | 手铐 | 香烟 | 放大镜 | 饮料 )
- br当前状态 —— 查看当前游戏的数值状态
测试图
env配置
暂无
QA
重启后加入游戏方法
在游戏结束后,可以通过命令br加入加入游戏,两个人都需要发送,否则判断不在游戏中
饮料退弹效果
饮料退弹应该是不可知的子弹,但是当开枪后的效果结算就知道当前的子弹,这是一个bug
to do
- 开枪基本逻辑
- 道具逻辑
- 分数逻辑
- 人机逻辑
🙈 其他
Metadata
Release files for nonebot_plugin_BR 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nonebot_plugin_br-0.0.8.tar.gz | 11.7 kB | Without provenance | Details for nonebot_plugin_br-0.0.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nonebot_plugin_br-0.0.8-py3-none-any.whl | Python 3 | none | any | Details for nonebot_plugin_br-0.0.8-py3-none-any.whl |
Total release size: 25.0 kB
Release files / nonebot_plugin_br-0.0.8.tar.gz
| Download URL | nonebot_plugin_br-0.0.8.tar.gz |
|---|---|
| Size | 11.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
955049a75c9efabb16e0c6af9df10379a69922f860678086a80f64ddcf4ae4c8
|
|
BLAKE2b-256 checksum How to use checksums |
6a48c030e0e976938bdcb859e052732152c1872d85446b21decd997d564c4a64
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
pdm/2.22.2 CPython/3.12.3 Linux/6.8.0-1017-azure
|
Release files / nonebot_plugin_br-0.0.8-py3-none-any.whl
| Download URL | nonebot_plugin_br-0.0.8-py3-none-any.whl |
|---|---|
| Size | 13.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2b148419643fb34d2e6a69180a7b4abe4b0258c5cd5dfeb37aa7379515b1b707
|
|
BLAKE2b-256 checksum How to use checksums |
31319c35b68549c8aca2686d9c1cc8ff8917ef9160ccfce0f57c21ff3d80da01
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
pdm/2.22.2 CPython/3.12.3 Linux/6.8.0-1017-azure
|
Security for nonebot_plugin_BR 0.0.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.