<!-- markdownlint-disable MD026 MD031 MD033 MD036 MD041 MD046 MD051 MD050-->
<div align="center">
<img src="https://raw.githubusercontent.com/Agnes4m/nonebot_plugin_l4d2_server/main/image/logo.png" width="180" height="180" alt="AgnesDigitalLogo">
<br>
<p><img src="https://s2.loli.net/2022/06/16/xsVUGRrkbn1ljTD.png" width="240" alt="NoneBotPluginText"></p>
</div>
<div align="center">
__✨基于nonebot2框架的插件,实现交互游戏恶魔轮盘赌✨__
<a href="https://github.com/Agnes4m/nonebot_plugin_BR/stargazers">
<img alt="GitHub stars" src="https://img.shields.io/github/stars/Agnes4m/nonebot_plugin_BR" alt="stars">
</a>
<a href="https://github.com/Agnes4m/nonebot_plugin_BR/issues">
<img alt="GitHub issues" src="https://img.shields.io/github/issues/Agnes4m/nonebot_plugin_BR" alt="issues">
</a>
<a href="https://jq.qq.com/?_wv=1027&k=HdjoCcAe">
<img src="https://img.shields.io/badge/QQ%E7%BE%A4-399365126-orange?style=flat-square" alt="QQ Chat Group">
</a>
<a href="https://pypi.python.org/pypi/nonebot_plugin_BR">
<img src="https://img.shields.io/pypi/v/nonebot_plugin_BR.svg" alt="pypi">
</a>
<img src="https://img.shields.io/badge/python-3.9+-blue.svg" alt="python">
<img src="https://img.shields.io/badge/nonebot-2.1.0+-red.svg" alt="NoneBot">
</div>
## 说明
本项目用于以交互形式完成游戏玩法恶魔轮盘赌(Buckshot Roulette)的玩法,可以在群聊中使用,一个群同时只能存在一场对局
由于“赌”在国内部分平台是被封禁的,所以文案均改为“恶魔轮盘”
## 安装
以下提到的方法 任选**其一**即可
<details open>
<summary>[推荐] 使用 nb-cli 安装</summary>
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装
```bash
nb plugin install nonebot_plugin_BR
```
</details>
<details>
<summary>使用包管理器安装</summary>
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令
<details>
<summary>pip</summary>
```bash
pip install nonebot_plugin_BR
```
</details>
<details>
<summary>pdm</summary>
```bash
pdm add nonebot_plugin_BR
```
</details>
<details>
<summary>poetry</summary>
```bash
poetry add nonebot_plugin_BR
```
</details>
<details>
<summary>conda</summary>
```bash
conda install nonebot_plugin_BR
```
</details>
</details>
## 指令
### 游戏外
- br开始| br加入 —— 开始游戏
- br help —— 查看帮助
### 游戏中
- 开枪 —— (前提:加入游戏)进行攻击判定
- 结束游戏 —— (前提:在对局中,或者超级管理员)结束当前会话在进行的游戏
- 使用道具 xxx(目前道具:刀 | 手铐 | 香烟 | 放大镜 | 饮料 )
## 测试图
![测试图1](./img/test2.png)
![测试图2](./img/test1.png)
## env配置
暂无
## to do
- [x] 开枪基本逻辑
- [x] 道具逻辑
- [ ] 分数逻辑
- [ ] 人机逻辑
## 🙈 其他
- 本项目仅供学习使用,请勿用于商业用途,喜欢该项目可以Star或者提供PR
- [爱发电](https://ifdian.net/a/agnes_digital/plan)
- [加入群聊](https://jq.qq.com/?_wv=1027&k=HdjoCcAe)
Raw data
{
"_id": null,
"home_page": "https://github.com/Agnes4m/nonebot_plugin_BR",
"name": "nonebot_plugin_BR",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.9",
"maintainer_email": null,
"keywords": "game, nonebot2, plugin",
"author": null,
"author_email": "Agnes_Digital <Z735803792@163.com>",
"download_url": "https://files.pythonhosted.org/packages/76/af/059db7d0e4881d1341a684b413d174813d5f39970d8c7adbd3be4a3c4bf1/nonebot_plugin_br-0.0.3.tar.gz",
"platform": null,
"description": "<!-- markdownlint-disable MD026 MD031 MD033 MD036 MD041 MD046 MD051 MD050-->\n<div align=\"center\">\n <img src=\"https://raw.githubusercontent.com/Agnes4m/nonebot_plugin_l4d2_server/main/image/logo.png\" width=\"180\" height=\"180\" alt=\"AgnesDigitalLogo\">\n <br>\n <p><img src=\"https://s2.loli.net/2022/06/16/xsVUGRrkbn1ljTD.png\" width=\"240\" alt=\"NoneBotPluginText\"></p>\n</div>\n\n<div align=\"center\">\n\n__\u2728\u57fa\u4e8enonebot2\u6846\u67b6\u7684\u63d2\u4ef6\uff0c\u5b9e\u73b0\u4ea4\u4e92\u6e38\u620f\u6076\u9b54\u8f6e\u76d8\u8d4c\u2728__\n\n<a href=\"https://github.com/Agnes4m/nonebot_plugin_BR/stargazers\">\n <img alt=\"GitHub stars\" src=\"https://img.shields.io/github/stars/Agnes4m/nonebot_plugin_BR\" alt=\"stars\">\n</a>\n<a href=\"https://github.com/Agnes4m/nonebot_plugin_BR/issues\">\n <img alt=\"GitHub issues\" src=\"https://img.shields.io/github/issues/Agnes4m/nonebot_plugin_BR\" alt=\"issues\">\n</a>\n<a href=\"https://jq.qq.com/?_wv=1027&k=HdjoCcAe\">\n <img src=\"https://img.shields.io/badge/QQ%E7%BE%A4-399365126-orange?style=flat-square\" alt=\"QQ Chat Group\">\n</a>\n<a href=\"https://pypi.python.org/pypi/nonebot_plugin_BR\">\n <img src=\"https://img.shields.io/pypi/v/nonebot_plugin_BR.svg\" alt=\"pypi\">\n</a>\n <img src=\"https://img.shields.io/badge/python-3.9+-blue.svg\" alt=\"python\">\n <img src=\"https://img.shields.io/badge/nonebot-2.1.0+-red.svg\" alt=\"NoneBot\">\n</div>\n\n## \u8bf4\u660e\n\n\u672c\u9879\u76ee\u7528\u4e8e\u4ee5\u4ea4\u4e92\u5f62\u5f0f\u5b8c\u6210\u6e38\u620f\u73a9\u6cd5\u6076\u9b54\u8f6e\u76d8\u8d4c(Buckshot Roulette)\u7684\u73a9\u6cd5\uff0c\u53ef\u4ee5\u5728\u7fa4\u804a\u4e2d\u4f7f\u7528\uff0c\u4e00\u4e2a\u7fa4\u540c\u65f6\u53ea\u80fd\u5b58\u5728\u4e00\u573a\u5bf9\u5c40\n\n\u7531\u4e8e\u201c\u8d4c\u201d\u5728\u56fd\u5185\u90e8\u5206\u5e73\u53f0\u662f\u88ab\u5c01\u7981\u7684\uff0c\u6240\u4ee5\u6587\u6848\u5747\u6539\u4e3a\u201c\u6076\u9b54\u8f6e\u76d8\u201d\n\n## \u5b89\u88c5\n\n\u4ee5\u4e0b\u63d0\u5230\u7684\u65b9\u6cd5 \u4efb\u9009**\u5176\u4e00**\u5373\u53ef\n\n<details open>\n<summary>[\u63a8\u8350] \u4f7f\u7528 nb-cli \u5b89\u88c5</summary>\n\u5728 nonebot2 \u9879\u76ee\u7684\u6839\u76ee\u5f55\u4e0b\u6253\u5f00\u547d\u4ee4\u884c, \u8f93\u5165\u4ee5\u4e0b\u6307\u4ee4\u5373\u53ef\u5b89\u88c5\n\n```bash\nnb plugin install nonebot_plugin_BR\n```\n\n</details>\n\n<details>\n<summary>\u4f7f\u7528\u5305\u7ba1\u7406\u5668\u5b89\u88c5</summary>\n\u5728 nonebot2 \u9879\u76ee\u7684\u63d2\u4ef6\u76ee\u5f55\u4e0b, \u6253\u5f00\u547d\u4ee4\u884c, \u6839\u636e\u4f60\u4f7f\u7528\u7684\u5305\u7ba1\u7406\u5668, \u8f93\u5165\u76f8\u5e94\u7684\u5b89\u88c5\u547d\u4ee4\n\n<details>\n<summary>pip</summary>\n\n```bash\npip install nonebot_plugin_BR\n```\n\n</details>\n<details>\n<summary>pdm</summary>\n\n```bash\npdm add nonebot_plugin_BR\n```\n\n</details>\n<details>\n<summary>poetry</summary>\n\n```bash\npoetry add nonebot_plugin_BR\n```\n\n</details>\n<details>\n<summary>conda</summary>\n\n```bash\nconda install nonebot_plugin_BR\n```\n\n</details>\n</details>\n\n## \u6307\u4ee4\n\n### \u6e38\u620f\u5916\n\n- br\u5f00\u59cb| br\u52a0\u5165 \u2014\u2014 \u5f00\u59cb\u6e38\u620f\n- br help \u2014\u2014 \u67e5\u770b\u5e2e\u52a9\n\n### \u6e38\u620f\u4e2d\n\n- \u5f00\u67aa \u2014\u2014 (\u524d\u63d0:\u52a0\u5165\u6e38\u620f)\u8fdb\u884c\u653b\u51fb\u5224\u5b9a\n- \u7ed3\u675f\u6e38\u620f \u2014\u2014 (\u524d\u63d0:\u5728\u5bf9\u5c40\u4e2d,\u6216\u8005\u8d85\u7ea7\u7ba1\u7406\u5458)\u7ed3\u675f\u5f53\u524d\u4f1a\u8bdd\u5728\u8fdb\u884c\u7684\u6e38\u620f\n- \u4f7f\u7528\u9053\u5177 xxx(\u76ee\u524d\u9053\u5177\uff1a\u5200 | \u624b\u94d0 | \u9999\u70df | \u653e\u5927\u955c | \u996e\u6599 )\n\n## \u6d4b\u8bd5\u56fe\n\n![\u6d4b\u8bd5\u56fe1](./img/test2.png)\n![\u6d4b\u8bd5\u56fe2](./img/test1.png)\n\n## env\u914d\u7f6e\n\n\u6682\u65e0\n\n## to do\n\n- [x] \u5f00\u67aa\u57fa\u672c\u903b\u8f91\n- [x] \u9053\u5177\u903b\u8f91\n- [ ] \u5206\u6570\u903b\u8f91\n- [ ] \u4eba\u673a\u903b\u8f91\n\n## \ud83d\ude48 \u5176\u4ed6\n\n- \u672c\u9879\u76ee\u4ec5\u4f9b\u5b66\u4e60\u4f7f\u7528\uff0c\u8bf7\u52ff\u7528\u4e8e\u5546\u4e1a\u7528\u9014\uff0c\u559c\u6b22\u8be5\u9879\u76ee\u53ef\u4ee5Star\u6216\u8005\u63d0\u4f9bPR\n- [\u7231\u53d1\u7535](https://ifdian.net/a/agnes_digital/plan)\n- [\u52a0\u5165\u7fa4\u804a](https://jq.qq.com/?_wv=1027&k=HdjoCcAe)\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "\u57fa\u4e8enonebot2\u6846\u67b6\u7684\u63d2\u4ef6\uff0c\u5b9e\u73b0\u4ea4\u4e92\u6e38\u620f\u6076\u9b54\u8f6e\u76d8\u8d4c",
"version": "0.0.3",
"project_urls": {
"Homepage": "https://github.com/Agnes4m/nonebot_plugin_BR"
},
"split_keywords": [
"game",
" nonebot2",
" plugin"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "fdb3763e2a34d3d2d8d10d22307cab27ee1143f48ceeb256747c05d78cca0089",
"md5": "624a4e6866a44f69c55fa53e2306fdd3",
"sha256": "8a2b93eb6b8dce9775db296573d12b51e56a3b04bde06ce151ad2db1d1f9c8d4"
},
"downloads": -1,
"filename": "nonebot_plugin_br-0.0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "624a4e6866a44f69c55fa53e2306fdd3",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.9",
"size": 13033,
"upload_time": "2024-10-19T08:35:34",
"upload_time_iso_8601": "2024-10-19T08:35:34.230828Z",
"url": "https://files.pythonhosted.org/packages/fd/b3/763e2a34d3d2d8d10d22307cab27ee1143f48ceeb256747c05d78cca0089/nonebot_plugin_br-0.0.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "76af059db7d0e4881d1341a684b413d174813d5f39970d8c7adbd3be4a3c4bf1",
"md5": "b73746ae010befe9b03fb237aac9965d",
"sha256": "505b69c2f55503c51dade6b78f962595d0e61c31b48f93a7e0b39f3f257d44fa"
},
"downloads": -1,
"filename": "nonebot_plugin_br-0.0.3.tar.gz",
"has_sig": false,
"md5_digest": "b73746ae010befe9b03fb237aac9965d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.9",
"size": 11381,
"upload_time": "2024-10-19T08:35:35",
"upload_time_iso_8601": "2024-10-19T08:35:35.963631Z",
"url": "https://files.pythonhosted.org/packages/76/af/059db7d0e4881d1341a684b413d174813d5f39970d8c7adbd3be4a3c4bf1/nonebot_plugin_br-0.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-19 08:35:35",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Agnes4m",
"github_project": "nonebot_plugin_BR",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "nonebot_plugin_br"
}