{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/rlcard-a-toolkit-for-reinforcement-learning","title":"RLCard: A Toolkit for Reinforcement Learning in Card Games","arxiv_id":"1910.04376","date":"2019-10-10","proceeding":null,"authors":["Daochen Zha","Kwei-Herng Lai","Yuanpu Cao","Songyi Huang","Ruzhe Wei","Junyu Guo","Xia Hu"],"abstract":"RLCard is an open-source toolkit for reinforcement learning research in card games. It supports various card environments with easy-to-use interfaces, including Blackjack, Leduc Hold'em, Texas Hold'em, UNO, Dou Dizhu and Mahjong. The goal of RLCard is to bridge reinforcement learning and imperfect information games, and push forward the research of reinforcement learning in domains with multiple agents, large state and action space, and sparse reward. In this paper, we provide an overview of the key components in RLCard, a discussion of the design principles, a brief introduction of the interfaces, and comprehensive evaluations of the environments. The codes and documents are available at https://github.com/datamllab/rlcard","url_abs":"https://arxiv.org/abs/1910.04376v2","url_pdf":"https://arxiv.org/pdf/1910.04376v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"rlcard-a-toolkit-for-reinforcement-learning","repo_url":"https://github.com/datamllab/rlcard","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"rlcard-a-toolkit-for-reinforcement-learning","repo_url":"https://github.com/Branbados/rlcard","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"rlcard-a-toolkit-for-reinforcement-learning","repo_url":"https://github.com/XiangboGaoBarry/TexasHoldemAI","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"rlcard-a-toolkit-for-reinforcement-learning","repo_url":"https://github.com/Yuta123456/poker-ai","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"rlcard-a-toolkit-for-reinforcement-learning","repo_url":"https://github.com/cogitoergoread/rlcard3","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"rlcard-a-toolkit-for-reinforcement-learning","repo_url":"https://github.com/datamllab/rlcard-tutorial","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok"}},{"paper_slug":"rlcard-a-toolkit-for-reinforcement-learning","repo_url":"https://github.com/mjiang9/_rlcard","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"rlcard-a-toolkit-for-reinforcement-learning","repo_url":"https://github.com/mjiang9/rlcard-copy","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"rlcard-a-toolkit-for-reinforcement-learning","repo_url":"https://github.com/q275212/rlcard","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"board-games","task_name":"Board Games"},{"task_slug":"card-games","task_name":"Card Games"},{"task_slug":"game-of-poker","task_name":"Game of Poker"},{"task_slug":"multi-agent-reinforcement-learning","task_name":"Multi-agent Reinforcement Learning"},{"task_slug":"reinforcement-learning","task_name":"Reinforcement Learning"},{"task_slug":"reinforcement-learning-1","task_name":"Reinforcement Learning (RL)"},{"task_slug":"reinforcement-learning-2","task_name":"reinforcement-learning"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=1910.04376","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1910.04376"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/Branbados/rlcard","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/q275212/rlcard","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/Yuta123456/poker-ai","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/mjiang9/_rlcard","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/datamllab/rlcard-tutorial","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/XiangboGaoBarry/TexasHoldemAI","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/datamllab/rlcard","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/cogitoergoread/rlcard3","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/mjiang9/rlcard-copy","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran_honours":1,"unverified":4},"by_repo_kind":{"official":{"samples":1,"ran":1,"repositories":1},"listed":{"samples":4,"ran":0,"repositories":2}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"6c08fd179035271c","entry":"get_score","repo":"datamllab/rlcard","repo_kind":"official","path":"rlcard/envs/blackjack.py","file_url":"https://github.com/datamllab/rlcard/blob/HEAD/rlcard/envs/blackjack.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"6c08fd179035271c"}},{"code_sha256_prefix":"f39baf033f05d9ae","entry":"load","repo":"Branbados/rlcard","repo_kind":"listed","path":"rlcard/models/registration.py","file_url":"https://github.com/Branbados/rlcard/blob/HEAD/rlcard/models/registration.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f39baf033f05d9ae"}},{"code_sha256_prefix":"4ee71176560cf840","entry":"load","repo":"cogitoergoread/rlcard3","repo_kind":"listed","path":"rlcard3/model_agents/registration.py","file_url":"https://github.com/cogitoergoread/rlcard3/blob/HEAD/rlcard3/model_agents/registration.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"4ee71176560cf840"}},{"code_sha256_prefix":"502de621e94695b2","entry":"register","repo":"Branbados/rlcard","repo_kind":"listed","path":"rlcard/models/registration.py","file_url":"https://github.com/Branbados/rlcard/blob/HEAD/rlcard/models/registration.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"502de621e94695b2"}},{"code_sha256_prefix":"03fa11a9780ef265","entry":"register","repo":"cogitoergoread/rlcard3","repo_kind":"listed","path":"rlcard3/model_agents/registration.py","file_url":"https://github.com/cogitoergoread/rlcard3/blob/HEAD/rlcard3/model_agents/registration.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"03fa11a9780ef265"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}