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-card-21-game

v2.1.7

Published

Koishi 的 21 点(黑杰克)纸牌游戏插件。完整赌场规则。

Downloads

131

Readme

koishi-plugin-card-21-game

npm

介绍

Koishi 的 21 点(黑杰克)纸牌游戏插件。完整赌场规则。

使用

  1. 启动 monetarydatabase 服务。
  2. 设置指令别名。
  3. 投注:blackjack.加入游戏 [投注]
  4. 开始:
    • 有庄家模式:blackjack.开始游戏
    • 无庄家模式:blackjack.开始游戏 -n
  • 筹码为通用货币,通过其他插件(签到、钓鱼、赛马等)获得。
  • 文本转图片:推荐 imagify 插件,视觉效果更佳。

规则

  • 无庄家模式:玩家之间进行游戏。
  • 有庄家模式:庄家与玩家对战,庄家为机器人。
  • 游戏目标:使手牌点数尽量接近 21 点,但不超过 21 点。

术语

  • 投降:玩家未要牌前可投降,返还半注。
  • 黑杰克:手牌点数 21 点,且只有两张手牌。赔率为 1.5。
  • 加倍:玩家持两张手牌且点数为 11 时,可加倍投注,只能再要一张牌。
  • 保险:庄家的第一张牌是 A 时,玩家可将筹码分半,购买保险。庄家手牌 21 点时,获双倍保险金。
  • 分牌:玩家手牌为对子时,可分两副手牌,分别进行操作,若分出的是 A,只能再要一张牌。

致谢

QQ 群

  • 956758505

License

MIT License © 2024