npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

koishi-plugin-texas

v0.1.0

Published

德州扑克游戏,你可以在聊天室中与好友一起体验德州扑克的乐趣

Downloads

230

Readme

koishi-plugin-texas

npm

🎮 使用说明

  • 建议在指令管理中为指令设置合适的调用时间间隔(大于0.5s),避免消息错位
  • 本插件依赖于 `database服务`,需要先启动这个服务
  • 本插件的筹码可由房主任意设定,游戏时请自行遵循相关规则
  • 请不要使用本插件进行违规活动

📝 基本命令

房间相关

  • 'help texas':显示本插件的所有指令及用法
  • 'texas.join [bet]':在群组中输入则会加入群组中的房间,每个群组只有一个房间,bet为进入房间时携带的筹码量,不输入则取默认值
  • 'texas.leave':在群组中输入则会退出群组中的房间
  • 'texas.info':查询房间中的信息,包括玩家的次序,筹码等
  • 'texas.setbutton ':设置庄位为编号为 index 的玩家(仅房主)
  • 'texas.setbet ':设置编号为 index 的玩家的筹码为 bet(仅房主)
  • 'texas.setowner ':将房主转让给编号为 index 的玩家(仅房主)
  • 'texas.start':开始游戏(仅房主,房间内玩家需不少于3人)
  • 'texas.history':查看本群组中的历史对局

游戏相关

  • 'texas.info':游戏开始时,可以查询游戏中的信息,包括玩家下注、桌面牌等
  • 'texas.hands':与机器人私聊可获得自己的手牌
  • 'texas.all':将自己的筹码全部投入池中
  • 'texas.call':跟注,将自己的下注提升至与上一次加注相同
  • 'texas.raise ':加注,将自己的下注提升 bet 的数值
  • 'texas.raiseto ':加注至,将自己的下注提升至 bet 的数值
  • 'texas.fold':放弃,本局直接认输

德州扑克的相关规则可看 https://zhuanlan.zhihu.com/p/682181951

有 bug 或反馈意见可联系邮箱 [email protected],邮件主题为 'koishi德扑插件反馈'

一些话

这是本人在 JavaScript语言与Web程序设计上做的大作业,仅由本人一人开发,且仅在discord平台上进行了测试。 本人代码能力稍弱,难免会有一些 bug,若发现了请及时反馈(最好带上机器人发送的消息截图)

对于一些要加入复杂功能的建议,本人可能没有时间完成,若要基于源码进行开发,不必特地联系本人, 毕竟这个repo使用的license是MIT。若有对代码的疑问,可以联系本人(如果过了很长一段时间可能作者都看不懂自己的代码了XD)

更新信息

2024/06/24 0.1.0 发布最初版本