
Security News
GitHub Actions Checkout Now Blocks Risky pull_request_target Checkouts
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.
maid-poker-cli
Advanced tools
A command-line multiplayer Dou Dizhu (斗地主) game built with Node.js and Socket.io.
npm install -g maid-poker-cli
Start the game:
maid-poker
| 牌型 | 说明 | 示例 |
|---|---|---|
| 单张 | 单张牌 | 7 |
| 对子 | 两张相同 | |
| 三张 | 三张相同 | 888 |
| 三带一 | 三张 + 1张单牌 | 888+6 |
| 三带对 | 三张 + 1对 | 888+66 |
| 顺子 | 5张及以上连牌 (不含2和王) | 34567 |
| 连对 | 3对及以上连续对子 | 778899 |
| 飞机 | 2组及以上连续三张 | 333444 |
| 炸弹 | 4张相同 | 6666 |
| 王炸 | 大王 + 小王 (最强) | 🃏🃏 |
| 牌型 | 说明 | 示例 |
|---|---|---|
| 顺子 | 5张及以上连牌,可含2,不含王 | 34567, JQKA2 |
| 四带二 | 4张相同 + 2张单牌 | 9999+6+8 |
| 四带两对 | 4张相同 + 2对 | 9999+55+77 |
| 王炸 | 大王 + 小王 | 🃏🃏 |
| 八炸 | 8张相同牌 (2副牌独有) | 88888888 |
| 天王炸 | 4张王 (最强) | 🃏🃏🃏🃏 |
天王炸 (4王) > 八炸 (8张相同) > 王炸 (1大1小) > 普通炸弹 (4张相同)
同级别炸弹比较点数大小 (如 2222 > AAAA > KKKK...)
# Install dependencies
npm install
# Run in development mode
npm start
# Run tests
npm test
# Build for production
npm run build
# Run all tests
npm test
# Run tests in watch mode
npm run test:watch
# Run tests with coverage
npm run test:coverage
ISC
FAQs
女仆扑克牌 (Maid Poker) - A Command Line Dou Dizhu Game
We found that maid-poker-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.