AIAug 8, 2023

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

arXiv:2308.07327v63 citationsh-index: 33Has Code
Originality Synthesis-oriented
AI Analysis

This provides a flexible tool for poker AI researchers and developers, though it is incremental as it builds on existing simulation concepts.

The authors tackled the problem of limited poker simulation tools by developing PokerKit, a Python library that supports numerous poker variants and custom games, achieving 99% code coverage through rigorous testing.

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

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes