基于nonebot2框架的插件,实现交互游戏恶魔轮盘赌
Project description
说明
本项目用于以交互形式完成游戏玩法恶魔轮盘赌(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 help —— 查看帮助(未完成)
游戏中
- 开枪 —— (前提:加入游戏)进行攻击判定
- 结束游戏 —— (前提:在对局中,或者超级管理员)结束当前会话在进行的游戏
env配置
暂无
to do
- 开枪基本逻辑
- 道具逻辑
- 分数逻辑
- 人机逻辑
🙈 其他
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_br-0.0.1.tar.gz
(10.7 kB
view details)
Built Distribution
File details
Details for the file nonebot_plugin_br-0.0.1.tar.gz
.
File metadata
- Download URL: nonebot_plugin_br-0.0.1.tar.gz
- Upload date:
- Size: 10.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.19.2 CPython/3.10.11 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8db009dcc9440b2d6e17f9f83496bf0e745d659fb341ceb0b5f3c4e17fde2909 |
|
MD5 | 2d7e2739fdd73f59807abf1355d460cd |
|
BLAKE2b-256 | 2644e2c07c406d2047b560e91f575ed522103510a3b5dc17848dd026c345cd7b |
File details
Details for the file nonebot_plugin_br-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: nonebot_plugin_br-0.0.1-py3-none-any.whl
- Upload date:
- Size: 12.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.19.2 CPython/3.10.11 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b43e11e5782ccfb839d4b79357cb9680b92d3a5e4a234b00e7694915b3baeeac |
|
MD5 | 2d39eac0e46f0db1cefea9376f0f35f3 |
|
BLAKE2b-256 | f0d528d4a0236791e48d168da3af98f16dc7612b63eb61d9e64035867edc93e4 |