PokerKit:一个用于细粒度多玩法扑克游戏模拟的综合Python库
PokerKit: A Comprehensive Python Library for Fine-Grained Multi-Variant Poker Game Simulations
AI总结:
PokerKit是一个开源Python库,通过支持广泛扑克玩法、自定义游戏定义和统一手牌评估,克服了现有工具在玩法覆盖和状态控制上的局限,并以99%代码覆盖率验证了可靠性,为计算机扑克研究和AI开发提供了灵活的基础平台。
摘要:
PokerKit是一个开源Python库,旨在突破现有扑克游戏模拟和手牌评估工具的局限,这些工具通常只支持少数几种扑克玩法,并且在游戏状态控制方面缺乏灵活性。相比之下,PokerKit通过支持广泛的扑克玩法显著扩展了这一范围,并提供了灵活的架构,使用户能够定义自己的自定义游戏。本文详细介绍了PokerKit的设计与实现,包括其直观的编程API、多玩法游戏支持,以及跨不同手牌类型的统一手牌评估套件。PokerKit的灵活性使其可应用于多种领域,例如扑克AI开发、工具创建和在线扑克赌场实现。PokerKit的可靠性已通过静态类型检查、大量doctest和单元测试得到验证,代码覆盖率达到99%。PokerKit的推出是对计算机扑克领域的重要贡献,将促进未来针对各种扑克游戏的研究和先进AI开发。源代码可在https://github.com/uoftcprg/pokerkit获取。
英文摘要:
PokerKit is an open-source Python library designed to overcome the restrictions of existing poker game simulation and hand evaluation tools, which typically support only a handful of poker variants and lack flexibility in game state control. In contrast, PokerKit significantly expands this scope by supporting an extensive array of poker variants and it provides a flexible architecture for users to define their custom games. This paper details the design and implementation of PokerKit, including its intuitive programmatic API, multi-variant game support, and a unified hand evaluation suite across different hand types. The flexibility of PokerKit allows for applications in diverse areas, such as poker AI development, tool creation, and online poker casino implementation. PokerKit's reliability has been established through static type checking, extensive doctests, and unit tests, achieving 99% code coverage. The introduction of PokerKit represents a significant contribution to the field of computer poker, fostering future research and advanced AI development for a wide variety of poker games. The source code is available at https://github.com/uoftcprg/pokerkit
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。