Skip to main content

基于nonebot2框架的插件,实现交互游戏恶魔轮盘赌

Project description

AgnesDigitalLogo

NoneBotPluginText

✨基于nonebot2框架的插件,实现交互游戏恶魔轮盘赌✨

GitHub stars GitHub issues QQ Chat Group pypi python NoneBot

说明

本项目用于以交互形式完成游戏玩法恶魔轮盘赌(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 —— 查看帮助

游戏中

  • 开枪 —— (前提:加入游戏)进行攻击判定
  • 结束游戏 —— (前提:在对局中,或者超级管理员)结束当前会话在进行的游戏
  • 使用道具 xxx(目前道具:刀 | 手铐 | 香烟 | 放大镜 | 饮料 )

测试图

测试图1 测试图2

env配置

暂无

to do

  • 开枪基本逻辑
  • 道具逻辑
  • 分数逻辑
  • 人机逻辑

🙈 其他

  • 本项目仅供学习使用,请勿用于商业用途,喜欢该项目可以Star或者提供PR
  • 爱发电
  • 加入群聊

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.2.tar.gz (11.4 kB view details)

Uploaded Source

Built Distribution

nonebot_plugin_br-0.0.2-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nonebot_plugin_br-0.0.2.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.19.2 CPython/3.10.11 Windows/10

File hashes

Hashes for nonebot_plugin_br-0.0.2.tar.gz
Algorithm Hash digest
SHA256 8994da80b6eda08f5d953a912eb7ead8fe6006205899e96803782385618c2bb9
MD5 1914484e958c55b63d383cd76ea7e492
BLAKE2b-256 806aa8cd6cf85f0cc708accfd9ea1e50521e871a5a8ce347fc68325a441b0ac4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_br-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 133af17a652ebc25486e8fed25143e28e106fb6abf4d0707d104ed3800ec849a
MD5 b6318e2f1f7354babdf7d14dc0ecbd69
BLAKE2b-256 3b7e52102be3be3fc94ca7d09f4abae646c1f24c44022b3b46ed8523c026d5e9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page