{"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.