[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-140669-en":3,"doc-seo-140669-105":30,"detail-sidebar-cat-0-en-105":91},{"code":4,"msg":5,"data":6},0,"success",{"doc_id":7,"user_id":8,"nickname":9,"user_avatar":10,"doc_module":4,"category_id":11,"category_name":12,"doc_title":13,"doc_description":14,"doc_content":15,"file_id":16,"file_url":17,"file_type":18,"file_size":19,"view_count":4,"is_deleted":4,"is_public":20,"is_downloadable":20,"audit_status":20,"page_count":21,"language":22,"language_code":23,"site_id":24,"html_lang":23,"table_of_contents":25,"faqs":26,"seo_title":27,"seo_description":14,"update_tm":28,"read_time":29},140669,7971461741311,"Ophelia","https://ap-avatar.wpscdn.com/avatar/74000253aff267980c6?x-image-process=image/resize,m_fixed,w_180,h_180&k=1779345379180704826",6,"Technology","TAG - Tabletop Games Framework - Setup and Introduction","TAG (Tabletop Games Framework) outlines how to build and run general AI research systems using modern tabletop games. It introduces core concepts such as actions, game state, rules, turn order, phases, components, and predefined component types like tokens, dice, cards, counters, and board representations. The document also explains collections such as areas and decks, and provides steps to install requirements (Java 17+), import the project in an IDE, and execute the framework starter game.","TAG: Tabletop Games Framework  \nSetup and Introduction  \nContents  \n1 Framework Description 2  \n2 Getting started 3  \n3 TAG Wiki and Documentation 4  \n4 Running the framework 4  \n4.1 Game ................................................... 4  \n4.1.1 Players .............................................. 4  \n4.1.2 Game parameters ......................................... 5  \n4.1.3 Run ................................................ 5  \n4.2 Frontend .................................................. 6  \n5 Game States and Forward Models 7  \n5.1 Game State ................................................ 7  \n5.2 Forward Model .............................................. 8  \n6 Actions and Components 9  \n6.1 Action ................................................... 9  \n6.2 Component ................................................ 10  \n7 Running The Framework (Advanced) 12  \n1 Framework Description  \nThe Tabletop Games Framework (TAG)[2] promotes research into general AI in modern tabletop games, facilitating the implementation of new games and AI players, while providing analytics to capture the complexities of the challenges proposed. The following definitions will help you understand the rest of this document:  \nWe define an action as an independent unit of game logic that modifies a given game state towards a specific effect (e.g. player draws a card; player moves their pawn) . These actions are executed by the game players and are subject to certain rules: units of game logic, part of a hierarchical structure (a game flow graph) . Rules dictate how a given game state is modified and control the flow through the game graph (for instance, checking the end of game conditions and the turn order) .  \nA turn order defines which player is due to take the next action, possibly handling player reactions forced by actions or rules. At a higher level, games can be structured in phases, which are time frames where specific rules apply and/or different actions are available for the players.  \nAll tabletop games use components (game objects sharing certain properties), whose state is modified by actions and rules during the game. TAG includes several predefined components to ease the development of new games, such as tokens (a game piece of a particular type), dice (with N sides), cards, counters (with a numerical value), grid and graph boards (with board nodes and edges) . Components can also be grouped into collections: an area groups components in a map structure in order to provide access to them using their unique IDs, while a deck is an ordered collection with specific interactions available (e.g. shuffle, draw, etc.) . Both areas and decks are considered components themselves.  \n2 Getting started  \nTAG requires Java with minimum version 17 . In order to get the framework installed and running, follow these instructions:  \n1. Clone the following repository using git in a Unix or Windows terminal:  \ngit clone [https://github.com/GAIGResearch/TabletopGames](https://github.com/GAIGResearch/TabletopGames)  \nYou can also download the repository or check it out with SVN. Alternatively, for cloning the repository  \nusing a graphical user interface, you can try GitHub Desktop. Thereare also detailed instructions for  \ncloning a repository at  \n[https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository](https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository).  \n2. Set up your IDE to use the project. These instructions allow you to set it up with IntelliJ IDEA (recommended), but you can also use any another IDE you feel more comfortable with.  \n(a) Open IntelliJ IDEA  \n(b) Select ’Create New Project’ ... ’from existing sources’  \ni. If you have a project already open, you’ll find this option in the ’File’menu,’Open’, etc.  \nii. If you see the Welcome to IntelliJ IDEA window, press ’Ctrl’+’Shift’+’A’ and type “existing sources” for this option to appear:  \n(c) Sele","cbCaim3CbEfRBuyF","https://ap.wps.com/l/cbCaim3CbEfRBuyF","pdf",1321623,1,14,"English","en",105,"# Framework Description\n# Getting started\n# TAG Wiki and Documentation\n# Running the framework\n## Game\n## Frontend\n# Game States and Forward Models\n## Game State\n## Forward Model\n# Actions and Components\n## Action\n## Component\n# Running The Framework (Advanced)","[{\"question\":\"What is TAG and what does it help researchers do?\",\"answer\":\"TAG is a Tabletop Games Framework that supports research into general AI in modern tabletop games. It helps implement new games and AI players and provides analytics to study the challenges posed by those games.\"},{\"question\":\"What are actions, and how do they affect the game state?\",\"answer\":\"An action is an independent unit of game logic that modifies a specific game state toward a defined effect. Actions are executed by players and are constrained by rules that control flow through the game graph.\"},{\"question\":\"How do I set up and run TAG locally?\",\"answer\":\"TAG requires Java 17+. Clone the repository, import the project with Maven in an IDE such as IntelliJ IDEA, verify sources root settings, and run the main Game class (e.g., core/Game.java) to compile and launch a game.\"}]","TAG - Tabletop Games Framework - Setup and Introduction | PDF",1787595639,35,{"code":4,"msg":31,"data":32},"ok",{"site_id":24,"language":23,"slug":33,"title":13,"keywords":34,"description":14,"schema_data":35,"social_meta":86,"head_meta":88,"extra_data":90,"updated_unix":28},"tag-tabletop-games-framework-setup-and-introduction","",{"@graph":36,"@context":85},[37,54,68],{"@type":38,"itemListElement":39},"BreadcrumbList",[40,44,48,51],{"item":41,"name":42,"@type":43,"position":20},"https://docshare.wps.com","Home","ListItem",{"item":45,"name":46,"@type":43,"position":47},"https://docshare.wps.com/document/","Document",2,{"item":49,"name":12,"@type":43,"position":50},"https://docshare.wps.com/document/technology/",3,{"item":52,"name":13,"@type":43,"position":53},"https://docshare.wps.com/document/tag-tabletop-games-framework-setup-and-introduction/140669/",4,{"url":52,"name":13,"@type":55,"author":56,"headline":13,"publisher":58,"fileFormat":61,"inLanguage":23,"description":14,"dateModified":62,"datePublished":62,"encodingFormat":61,"isAccessibleForFree":63,"interactionStatistic":64},"DigitalDocument",{"name":9,"@type":57},"Person",{"url":41,"name":59,"@type":60},"DocShare","Organization","application/pdf","2026-08-24",true,{"@type":65,"interactionType":66,"userInteractionCount":4},"InteractionCounter",{"@type":67},"ViewAction",{"@type":69,"mainEntity":70},"FAQPage",[71,77,81],{"name":72,"@type":73,"acceptedAnswer":74},"What is TAG and what does it help researchers do?","Question",{"text":75,"@type":76},"TAG is a Tabletop Games Framework that supports research into general AI in modern tabletop games. It helps implement new games and AI players and provides analytics to study the challenges posed by those games.","Answer",{"name":78,"@type":73,"acceptedAnswer":79},"What are actions, and how do they affect the game state?",{"text":80,"@type":76},"An action is an independent unit of game logic that modifies a specific game state toward a defined effect. Actions are executed by players and are constrained by rules that control flow through the game graph.",{"name":82,"@type":73,"acceptedAnswer":83},"How do I set up and run TAG locally?",{"text":84,"@type":76},"TAG requires Java 17+. Clone the repository, import the project with Maven in an IDE such as IntelliJ IDEA, verify sources root settings, and run the main Game class (e.g., core/Game.java) to compile and launch a game.","https://schema.org",{"og:url":52,"og:type":87,"og:title":13,"og:site_name":59,"og:description":14},"article",{"robots":89,"canonical":52},"index,follow",{"doc_id":7,"site_id":24},{"code":4,"msg":5,"data":92},[93,97,101,105,110,113,118,123,128,131,135],{"id":20,"doc_module":4,"doc_module_name":46,"category_name":94,"show_sort_weight":95,"slug":96},"Story & Novel",90,"story-novel",{"id":47,"doc_module":4,"doc_module_name":46,"category_name":98,"show_sort_weight":99,"slug":100},"Literature",80,"literature",{"id":53,"doc_module":4,"doc_module_name":46,"category_name":102,"show_sort_weight":103,"slug":104},"Exam",70,"exam",{"id":106,"doc_module":4,"doc_module_name":46,"category_name":107,"show_sort_weight":108,"slug":109},5,"Comic",60,"comic",{"id":11,"doc_module":4,"doc_module_name":46,"category_name":12,"show_sort_weight":111,"slug":112},50,"technology",{"id":114,"doc_module":4,"doc_module_name":46,"category_name":115,"show_sort_weight":116,"slug":117},7,"Healthcare",40,"healthcare",{"id":119,"doc_module":4,"doc_module_name":46,"category_name":120,"show_sort_weight":121,"slug":122},8,"Research & Report",30,"research-report",{"id":124,"doc_module":4,"doc_module_name":46,"category_name":125,"show_sort_weight":126,"slug":127},9,"Religion & Spirituality",20,"religion-spirituality",{"id":126,"doc_module":4,"doc_module_name":46,"category_name":129,"show_sort_weight":126,"slug":130},"World Cup","world-cup",{"id":132,"doc_module":4,"doc_module_name":46,"category_name":133,"show_sort_weight":132,"slug":134},10,"Lifestyle","lifestyle",{"id":136,"doc_module":4,"doc_module_name":46,"category_name":137,"show_sort_weight":106,"slug":138},19,"General","general"]