ChinesePokerGame
It is an Chinese Poker Game solver, also known as 斗地主(Dou Di Zhu). Maybe it's also the fastest one.
Install / Use
/learn @Whotakesmyname/ChinesePokerGameREADME
「斗地主」残局解算器
Chinese Poker Game Solver
It is an Chinese Poker Game solver using MinMax algorithm, and maybe also the fastest one.
The Chinese Poker Game is also known as 斗地主(Dou Di Zhu).
For more details of the realization, please refer to my blog Adversarial Search on Chinese Poker Game
这是一个可能是目前最快的斗地主残局解算器。使用C++实现,采用MinMax算法思想,并进行了对象复用、多线程等一系列的优化,使得它与目前能找到的其他相似程序相比占用内存少, 解算速度快数倍甚至若干量级。
关于实现的细节请参考该篇博文:《“斗地主”残局的对抗搜索算法》
环境要求
Environment Requirements
测试环境
Test Environment
- CPU: Intel(R) Core(TM) i7-4710MQ CPU @ 2.50GHz
- RAM: DDR3L 24G(8+8+4+4)
一般情况下占用1G内存,于2秒内得出结果;少于10%的高复杂度问题(场上手牌总数>20张)需要约10G内存,于1分钟左右得到结果。
Most problems will be solved within 2 secs taking less than 1G RAM; problems with high complexity(odds < 10%, total cards > 20) will take about 10G RAM and be solved within 1 min.
使用方法
How to use
- 提供Windows平台下x64版本已编译完成的可执行文件下载
- 自行编译,引用boost库头文件
运行可执行文件ChinesePokerGame.exe即可
Download the release for Windows_x64 or build your own. Note: Require BOOST Headers
Related Skills
node-connect
348.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
108.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
348.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
348.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
