PokerKit: A Comprehensive Python Library for Fine-Grained Multivariant Poker Game Simulations

IF 1.7 4区 计算机科学 Q3 COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE
Juho Kim
{"title":"PokerKit: A Comprehensive Python Library for Fine-Grained Multivariant Poker Game Simulations","authors":"Juho Kim","doi":"10.1109/TG.2023.3325637","DOIUrl":null,"url":null,"abstract":"PokerKit is an open-source Python library designed to overcome the restrictions of existing <italic>Poker</i> game simulation and hand evaluation tools, which typically support only a handful of <italic>Poker</i> variants and lack flexibility in game state control. In contrast, PokerKit significantly expands this scope by supporting an extensive array of <italic>Poker</i> variants and it provides a flexible architecture for users to define their custom games. This article details the design and implementation of PokerKit, including its intuitive programmatic API, multivariant game support, and a unified hand evaluation suite across different hand types. The flexibility of PokerKit allows for applications in diverse areas, such as <italic>Poker</i> AI development, tool creation, and online <italic>Poker</i> 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 <italic>Poker</i>, fostering future research and advanced AI development for a wide variety of <italic>Poker</i> games.","PeriodicalId":55977,"journal":{"name":"IEEE Transactions on Games","volume":"17 1","pages":"32-39"},"PeriodicalIF":1.7000,"publicationDate":"2023-10-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=10287546","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE Transactions on Games","FirstCategoryId":"94","ListUrlMain":"https://ieeexplore.ieee.org/document/10287546/","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE","Score":null,"Total":0}
引用次数: 0

Abstract

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 article details the design and implementation of PokerKit, including its intuitive programmatic API, multivariant 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.
PokerKit:一个用于细粒度多变量扑克游戏模拟的综合Python库
PokerKit是一个开源Python库,旨在克服现有扑克游戏模拟和手牌评估工具的限制,这些工具通常只支持少数扑克变体,并且在游戏状态控制方面缺乏灵活性。相比之下,PokerKit通过支持大量扑克变体显著扩展了这一范围,并为用户提供了一个灵活的架构来定义他们的自定义游戏。本文详细介绍了PokerKit的设计和实现,包括其直观的编程API,多变体游戏支持以及跨不同手牌类型的统一手牌评估套件。PokerKit的灵活性允许在不同领域的应用程序,例如扑克AI开发,工具创建和在线扑克赌场实施。PokerKit的可靠性是通过静态类型检查、广泛的文档测试和单元测试建立起来的,实现了99%的代码覆盖率。PokerKit的引入代表了对计算机扑克领域的重大贡献,促进了未来的研究和各种扑克游戏的先进人工智能发展。源代码可从https://github.com/uoftcprg/pokerkit获得
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
IEEE Transactions on Games
IEEE Transactions on Games Engineering-Electrical and Electronic Engineering
CiteScore
4.60
自引率
8.70%
发文量
87
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信