publicationspublicações
2024
- A taxonomy of collectible card games from a game-playing AI perspectiveRonaldo e Silva Vieira, Anderson Rocha Tavares, and e Luiz ChaimowiczIn Em International Conference on Entertainment Computing (IFIP ICEC), 2024
Collectible card games are challenging, widely played games that have received increasing attention from the AI research community in recent years. Despite important breakthroughs, the field still poses many unresolved challenges. This work aims to help further research on the genre by proposing a taxonomy of collectible card games by analyzing their rules, mechanics, and game modes from the perspective of game-playing AI research. To achieve this, we studied a set of popular games and provided a thorough discussion about their characteristics.
@inproceedings{vieira2024, author = {{e Silva Vieira}, Ronaldo and Tavares, Anderson Rocha and Chaimowicz, Luiz}, title = {A taxonomy of collectible card games from a game-playing AI perspective}, booktitle = {International Conference on Entertainment Computing (IFIP ICEC)}, series = {Lecture Notes in Computer Science}, publisher = {Springer}, year = {2024}, doi = {10.1007/978-3-031-74353-5_12}, } - Enhancing deep reinforcement learning for scale flexibility in real-time strategy gamesMarcelo Luiz Harry Diniz Lemos, Ronaldo e Silva Vieira, Anderson Rocha Tavares, Leandro Soriano Marcolino, and e Luiz ChaimowiczEntertainment Computing, 2024
Real-time strategy (RTS) games present a unique challenge for AI agents due to the combination of several fundamental AI problems. While Deep Reinforcement Learning (DRL) has shown promise in the development of autonomous agents for the genre, existing architectures often struggle with games featuring maps of varying dimensions. This limitation hinders the agent’s ability to generalize its learned strategies across different scenarios. This paper proposes a novel approach that overcomes this problem by incorporating Spatial Pyramid Pooling (SPP) within a DRL framework. We leverage the GridNet architecture’s encoder–decoder structure and integrate an SPP layer into the critic network of the Proximal Policy Optimization (PPO) algorithm. This SPP layer dynamically generates a standardized representation of the game state, regardless of the initial observation size. This allows the agent to effectively adapt its decision-making process to any map configuration. Our evaluations demonstrate that the proposed method significantly enhances the model’s flexibility and efficiency in training agents for various RTS game scenarios, albeit with some discernible limitations when applied to very small maps. This approach paves the way for more robust and adaptable AI agents capable of excelling in sequential decision problems with variable-size observations.
@article{lemos2024, title = {Enhancing deep reinforcement learning for scale flexibility in real-time strategy games}, journal = {Entertainment Computing}, volume = {52}, pages = {100843}, year = {2024}, issn = {1875-9521}, doi = {10.1016/j.entcom.2024.100843}, url = {https://www.sciencedirect.com/science/article/pii/S1875952124002118}, author = {Lemos, Marcelo Luiz Harry Diniz and {e Silva Vieira}, Ronaldo and Tavares, Anderson Rocha and Marcolino, Leandro Soriano and Chaimowicz, Luiz}, keywords = {Deep Learning, Reinforcement learning, Real-Time Strategy Games, Game-playing AI}, } - Antena 2: Glória a Invicta ou abaixo o Governo?João R. W. Tostes, Giovana N. L. Membrive, Hiago A. F. Alves, Gabriela D. S. Rezende, Mario Ramos, João P. Cabral, Ronaldo e Silva Vieira, and e Virgínia F. MotaIn Em Anais Estendidos do Simpósio Brasileiro de Jogos e Entretenimento Digital (SBGames), 2024
Jogos de aventura point-and-click, como Maniac Mansion e Grim Fandango, ocupam importante espaço na indústria de videogames desde a década de 1990. Apresentamos o jogo Antena 2, pertencente a esse gênero, que combina simulação, estratégia e quebra-cabeças (puzzles). Nele, o jogador assume o papel de um operador de rádio em uma torre de transmissão situada em meio a uma guerra civil travada entre rebeldes e o governo totalitário de Invicta. Discutimos a narrativa do jogo, as etapas de seu desenvolvimento, suas mecânicas, dinâmicas, tecnologias utilizadas e as opções de acessibilidade implementadas.
@inproceedings{tostes2024, author = {Tostes, João R. W. and Membrive, Giovana N. L. and Alves, Hiago A. F. and Rezende, Gabriela D. S. and Ramos, Mario and Cabral, João P. and {e Silva Vieira}, Ronaldo and Mota, Virgínia F.}, title = {Antena 2: Glória a Invicta ou abaixo o Governo?}, booktitle = {Anais Estendidos do Simpósio Brasileiro de Jogos e Entretenimento Digital (SBGames)}, publisher = {SBC}, year = {2024}, doi = {10.5753/sbgames_estendido.2024.241750}, } - Rato: uma viagem sobre a natureza humanaMarco Túlio O. G. De Jesus, Bruna M. M. Santarelli, Joana G. D. Soares, Isabel V. Pessoa, Ronaldo e Silva Vieira, and e Virgínia F. MotaIn Em Anais Estendidos do Simpósio Brasileiro de Jogos e Entretenimento Digital (SBGames), 2024
A popularização da Internet e de dispositivos digitais trouxe um desafio adicional quanto à atenção e concentração de estudantes em ambientes de ensino tradicionais. O uso de jogos pode captar o interesse dos estudantes e incentivá-los a se envolver de forma ativa nas aulas. Nesse contexto, apresentamos o jogo Rato, que objetiva introduzir o jogador a conceitos e filósofos da corrente do existencialismo na Filosofia. Nele, o jogador interpreta um rato que acabou de se tornar consciente e explora a fronteira entre ser animal e humano. Discutimos a história, mecânica, tecnologias, diferenciais e dinâmica do jogo, além de suas opções de acessibilidade.
@inproceedings{jesus2024, author = {Jesus, Marco Túlio O. G. De and Santarelli, Bruna M. M. and Soares, Joana G. D. and Pessoa, Isabel V. and {e Silva Vieira}, Ronaldo and Mota, Virgínia F.}, title = {Rato: uma viagem sobre a natureza humana}, booktitle = {Anais Estendidos do Simpósio Brasileiro de Jogos e Entretenimento Digital (SBGames)}, publisher = {SBC}, year = {2024}, doi = {10.5753/sbgames_estendido.2024.243119}, } - Darkest School: sobrevivendo a uma noite na escolaNatanael M. Leão, Vinícius M. Nogueira, Stella C. P. Ventura, Maria Eduarda L. Assis, Sofia C. Ribeiro, Nicolle C. C. Duraes, Ronaldo e Silva Vieira, and e Virgínia F. MotaIn Em Anais Estendidos do Simpósio Brasileiro de Jogos e Entretenimento Digital (SBGames), 2024
No gênero de jogos escape room, o objetivo dos jogadores é escapar de uma sala trancada através da resolução de desafios e enigmas. Sua popularidade se dá tanto em suas versões físicas quanto digitais. Apresentamos Darkest School, um jogo digital deste gênero. Nele, o jogador assume o papel de Coltequinho, um aluno que dormiu durante uma aula no laboratório de informática e, quando acordou, se encontrou sozinho e trancado na sala. Por meio de 5 desafios diferentes, o jogador encontrará a senha para destrancar a porta. Discutimos sua história, mecânica, tecnologias, desafios e opções de acessibilidade.
@inproceedings{leao2024, author = {Leão, Natanael M. and Nogueira, Vinícius M. and Ventura, Stella C. P. and de Assis, Maria Eduarda L. and Ribeiro, Sofia C. and Duraes, Nicolle C. C. and {e Silva Vieira}, Ronaldo and Mota, Virgínia F.}, title = {Darkest School: sobrevivendo a uma noite na escola}, booktitle = {Anais Estendidos do Simpósio Brasileiro de Jogos e Entretenimento Digital (SBGames)}, publisher = {SBC}, year = {2024}, doi = {10.5753/sbgames_estendido.2024.243195}, } - Unnamed Game about Cats and Dungeons: Um jogo infinite runner sobre lidar com a ansiedadeRaphael I. B. Carvalho, Luka G. Fantini, Ronaldo e Silva Vieira, and e Virgínia F. MotaIn Em Anais Estendidos do Simpósio Brasileiro de Jogos e Entretenimento Digital (SBGames), 2024
A ansiedade, embora emoção comum e natural diante de situações desafiadoras, pode ser problemática se experienciada em excesso. Há crescentes relatos de que representações de sintomas de doenças mentais em jogos podem ter impacto positivo nos jogadores. Neste trabalho, apresentamos Unnamed Game about Cats and Dungeons, um jogo 2D em pixel art do gênero infinite runner. Nele, você assume o papel de um gato mago guerreiro que, pressionado pelo passado heróico de sua família, decide explorar uma masmorra, assim enfrentando seus medos e inseguranças. No jogo, o gato desvia de armadilhas e enfrenta inimigos enquanto coleta moedas e poderes. Eventuais falhas o fazem experienciar sintomas de ansiedade e podem, se repetidas, culminar no fim do jogo. O jogo também conta com diversas opções de acessibilidade.
@inproceedings{carvalho2024, author = {Carvalho, Raphael I. B. and Fantini, Luka G. and {e Silva Vieira}, Ronaldo and Mota, Virgínia F.}, title = {Unnamed Game about Cats and Dungeons: Um jogo infinite runner sobre lidar com a ansiedade}, booktitle = {Anais Estendidos do Simpósio Brasileiro de Jogos e Entretenimento Digital (SBGames)}, publisher = {SBC}, year = {2024}, doi = {10.5753/sbgames_estendido.2024.241753}, }
2023
- Scale-invariant reinforcement learning in real-time strategy gamesMarcelo Luiz Harry Diniz Lemos, Ronaldo e Silva Vieira, Anderson Rocha Tavares, Leandro Soriano Marcolino, and e Luiz ChaimowiczIn Em Brazilian Symposium on Computer Games and Digital Entertainment (SBGames), 2023
Real-time strategy games present a significant challenge for artificial game-playing agents by combining several fundamental AI problems. Despite the difficulties, attempts to create autonomous agents using Deep Reinforcement Learning have been successful, with bots like AlphaStar beating even expert human players. Many RTS games include several distinct world maps with different dimensions, which may affect the agent’s observation and the representation of game states. However, most current architectures suffer from fixed input sizes or require extensive and complex training. In this paper, we overcome these limitations by combining Grid-Wise Control with Spatial Pyramid Pooling (SPP). Specifically, we employ the encoder-decoder framework provided by the GridNet architecture and enhance the critic component of PPO by adding an SPP layer to it. The new layer generates a standardized representation of any game state regardless of the initial observation dimensions, allowing the agent to act on any map. Our evaluation demonstrates that our proposed method improves the models’ flexibility and provides a more effective and efficient solution for training autonomous agents in multiple RTS game scenarios.
@inproceedings{lemos2023, author = {Lemos, Marcelo Luiz Harry Diniz and {e Silva Vieira}, Ronaldo and Tavares, Anderson Rocha and Marcolino, Leandro Soriano and Chaimowicz, Luiz}, title = {Scale-invariant reinforcement learning in real-time strategy games}, date = {2023-11-07}, booktitle = {Brazilian Symposium on Computer Games and Digital Entertainment (SBGames)}, publisher = {{IEEE}}, year = {2023}, doi = {10.1145/3631085.3631337}, } - Towards sample efficient deep reinforcement learning in collectible card gamesRonaldo e Silva Vieira, Anderson Rocha Tavares, and e Luiz ChaimowiczEntertainment Computing, 2023
Collectible card games (CCGs) are widely-played games in which players build a deck from a set of custom cards and use it to battle each other. They are notoriously more challenging than games such as Go and Texas Hold’em Poker, the protagonists of recent breakthroughs in game-playing AI. Deep reinforcement learning approaches have recently become state-of-the-art in CCGs, although requiring huge amounts of computational power to train. In this paper, we propose a collection of deep reinforcement learning approaches to battling in CCGs that are trainable on a single desktop computer. Each approach tries different mechanisms to increase sample efficiency. We use Legends of Code and Magic, a CCG designed for AI research, as a testbed and compare our approaches to each other, considering their win rate and other metrics. Then, we discuss the position of our approaches regarding the current literature, their limitations, directions of improvement, and extension to commercial CCGs.
@article{vieira2023, title = {Towards sample efficient deep reinforcement learning in collectible card games}, journal = {Entertainment Computing}, volume = {47}, pages = {100594}, year = {2023}, issn = {1875-9521}, doi = {10.1016/j.entcom.2023.100594}, url = {https://www.sciencedirect.com/science/article/pii/S1875952123000496}, author = {{e Silva Vieira}, Ronaldo and Tavares, Anderson Rocha and Chaimowicz, Luiz}, keywords = {Reinforcement learning, Collectible card games}, }
2022
- Exploring reinforcement learning approaches for battling in collectible card gamesRonaldo e Silva Vieira, Anderson Rocha Tavares, and e Luiz ChaimowiczIn Em Brazilian Symposium on Computer Games and Digital Entertainment (SBGames), 2022
🥉 3rd best paper award!
🥉 Prêmio de 3º melhor artigo!
Collectible card games (CCGs), such as Magic: the Gathering and Hearthstone, are a challenging domain where game-playing AI arguably has not yet reached human-level performance. We propose a deep reinforcement learning approach to battling in CCGs, using Legends of Code and Magic, a CCG designed for AI research, as a testbed. To do so, we formulate the battles as a Markov decision process, train agents to solve it, and evaluate them against two existing agents of different skill levels. Contrasting with the current state-of-the-art, our resulting agents act fast and can play many battles per second, despite their limited performance. We identify limitations and discuss several promising directions for improvement.
@inproceedings{vieira2022b, author = {{e Silva Vieira}, Ronaldo and Tavares, Anderson Rocha and Chaimowicz, Luiz}, title = {Exploring reinforcement learning approaches for battling in collectible card games}, date = {2022-10-24}, booktitle = {Brazilian Symposium on Computer Games and Digital Entertainment (SBGames)}, publisher = {{IEEE}}, year = {2022}, doi = {10.1109/SBGAMES56371.2022.9961110}, } - Exploring reinforcement learning approaches for drafting in collectible card gamesRonaldo e Silva Vieira, Anderson Rocha Tavares, and e Luiz ChaimowiczEntertainment Computing, 2022
Collectible card games (CCGs), such as Magic: the Gathering and Hearthstone, are played by tens of millions worldwide and are known for their usually large and intricate rules. From an artificial intelligence (AI) standpoint, playing CCGs consists of two interdependent tasks: deck-building and battling. This paper presents three deep reinforcement learning approaches for deck-building in the arena mode of CCGs. Our approaches are trained in self-play and differ in the handling of past information when drafting new cards for a deck. We formulate the problem in a game-agnostic manner and perform experiments on Legends of Code and Magic, a CCG designed for AI research. Considering the win rate of the decks when used by fixed battling agents, the results show that our trained drafting agents outperform the best ones available for the game and do so by building very different decks. We also reenact the Strategy Card Game AI competition and show that our best drafting strategy improves the win rate of a baseline competitor by 14.9 and 12.7 percentage points in the 2019 and 2020 editions.
@article{vieira2022a, title = {Exploring reinforcement learning approaches for drafting in collectible card games}, journal = {Entertainment Computing}, volume = {44}, pages = {100526}, year = {2022}, issn = {1875-9521}, doi = {10.1016/j.entcom.2022.100526}, url = {https://www.sciencedirect.com/science/article/pii/S1875952122000490}, author = {{e Silva Vieira}, Ronaldo and {Rocha Tavares}, Anderson and Chaimowicz, Luiz}, keywords = {Reinforcement learning, Collectible card game, Deck-building}, }
2020
- Drafting in collectible card games via reinforcement learningRonaldo e Silva Vieira, Anderson Rocha Tavares, and e Luiz ChaimowiczIn Em Brazilian Symposium on Computer Games and Digital Entertainment (SBGames), 2020
🥇 Best paper award!
🥇 Prêmio de melhor artigo!
Collectible card games are played by tens of millions of players worldwide. Their intricate rules and diverse cards make them much more complex than traditional card games. To win, players must be proficient in two interdependent tasks: deck building and battling. In this paper, we present a deep reinforcement learning approach for deck building in arena mode - an understudied game mode present in many collectible card games, in which players build decks immediately before battling by drafting one card at a time from randomly presented candidates. We investigate three variants of the approach, and perform experiments on Legends of Code and Magic, a collectible card game designed for AI research. Results show that our learned draft strategies outperform those of the best agents of the game. Moreover, a participant of the Strategy Card Game AI competition improves from tenth to fourth place when coupled with our best drafting approach.
@inproceedings{vieira2020, author = {{e Silva Vieira}, Ronaldo and Tavares, Anderson Rocha and Chaimowicz, Luiz}, title = {Drafting in collectible card games via reinforcement learning}, date = {2020-11-07}, booktitle = {Brazilian Symposium on Computer Games and Digital Entertainment (SBGames)}, publisher = {{IEEE}}, year = {2020}, bibsource = {dblp computer science bibliography, https://dblp.org}, doi = {10.1109/SBGames51465.2020.00018}, } - Drafting in collectible card games via reinforcement learningRonaldo e Silva VieiraDepartamento de Ciência da Computação, Universidade Federal de Minas Gerais, 2020
Collectible card games (CCGs), such as Magic: the Gathering and Hearthstone, are played by tens of millions of players worldwide, and their vast state and action spaces, intricate rules and diverse cards make them challenging for humans and artificial intelligence (AI) agents alike. In them, players build a deck using cards that representcreatures, items or spells from a fantasy world and use it to battle other players. Therefore, to win, players must be proficient in two interdependent tasks: deck building and battling. The advent of strong and fast AI players would enable, for instance, thorough playtesting of new cards before they are made available to the public, which is a longstanding problem in the CCG industry. In this thesis, we present a deep reinforcement learning approach for deck-building in the arena mode – an understudied game mode present in most commercial collectible card games. In arena, players build decks immediately before battling by drafting one card at a time from randomly presented candidates. We formulate the problem in a game-agnostic manner and investigate three approaches that differ on how to consider the cards drafted so far in the next choices, using different game state representations and types of neural networks. We perform experiments on Legends of Code and Magic, a collectible card game designed for AI research. Considering the win rate of the decks when used by fixed battling AIs, the results show that our trained draft agents outperform the best draft agents of the game, and do so by building very different decks. Moreover, a participant of the Strategy Card Game AIcompetition improves from tenth to fourth place when using our best draft agent to build decks. We conclude with a discussion on the results, contributions and limitations of this work as well as directions for future research.
@masterthesis{master-thesis, title = {Drafting in collectible card games via reinforcement learning}, author = {{e Silva Vieira}, Ronaldo}, year = {2020}, date = {2020-10-13}, address = {Belo Horizonte, MG, Brazil}, school = {Departamento de Ciência da Computação, Universidade Federal de Minas Gerais}, keywords = {Reinforcement Learning, Games, Collectible Card Games, Deck Building}, type = {thesis}, pubstate = {published}, tppubtype = {mastersthesis}, }
2019
- Reinforcement learning in collectible card games: preliminary results on Legends of Code and MagicRonaldo e Silva Vieira, Luiz Chaimowicz, and e Anderson Rocha TavaresIn Em Brazilian Symposium on Computer Games and Digital Entertainment (SBGames), 2019
Games have long been a popular application area for research on artificial intelligence. They provide hard and diverse challenges whose solution often apply to real-life problems. Games like Chess, Go and recently Poker can be played by computers at superhuman level, but this performance is yet to be achieved in more complex games, such as collectible card games. To tackle this problem, we propose a pure reinforcement learning approach to the card game Legends of Code and Magic, in contrast to search strategies, most commonly used in this domain. In this paper, we present the intended methodology, preliminary results and the next steps of the project.
@inproceedings{vieira2019b, author = {{e Silva Vieira}, Ronaldo and Chaimowicz, Luiz and Tavares, Anderson Rocha}, title = {Reinforcement learning in collectible card games: preliminary results on {L}egends of {C}ode and {M}agic}, booktitle = {Brazilian Symposium on Computer Games and Digital Entertainment (SBGames)}, publisher = {{IEEE}}, year = {2019}, timestamp = {Tue, 17 Dec 2019 16:49:17 +0100}, bibsource = {dblp computer science bibliography, https://dblp.org}, } - Modelando um esconde-esconde no Minecraft utilizando Hidden Markov ModelRonaldo e Silva Vieira, Matheus Rodrigues Leal, and e Luiz ChaimowiczSingular Engenharia, Tecnologia e Gestão, 2019
A criação de agentes inteligentes é uma área da inteligência artificial que busca construir entidades capazes de desempenhar ações semelhantes aos seres humanos. Dessa forma, é possível modelar cenários e avaliar a tomada de decisão de entidades envolvidas nesses cenários. Este trabalho consiste na construção de agentes inteligentes para participarem da brincadeira de esconde-esconde. Para isso, é desenvolvida uma abordagem probabilística baseada em um Hidden Markov Model, que utiliza o jogo Minecraft como plataforma para sua aplicação. Os experimentos realizados demonstram que a estratégia desenvolvida permite a interação entre os agentes de forma adequada às regras da brincadeira.
@article{vieira2019a, title = {Modelando um esconde-esconde no Minecraft utilizando Hidden Markov Model}, author = {{e Silva Vieira}, Ronaldo and Leal, Matheus Rodrigues and Chaimowicz, Luiz}, journal = {Singular Engenharia, Tecnologia e Gest{\~a}o}, volume = {1}, number = {1}, pages = {48--52}, year = {2019}, doi = {10.33911/singular-etg.v1i1.16}, }
2018
- A cognitive architecture for agent-based artificial life simulationRonaldo e Silva Vieira, Bruno Dembogurski, Leandro G. M. Alvim, and e Filipe BraidaIn Em International Conference on Computational Science and its Applications (ICCSA) 2018, 2018
The ability to simulate living beings that behave in a credible way is a fundamental aspect in digital games. This is due to its interdisciplinary characteristic, that brings together different fields of knowledge to better understand biological life and its processes. In this context, the design of an intelligent agent is a hard task as it involves a complex system, which has several interconnected components. In this work a virtual mind architecture for intelligent agents is proposed, where it simulates the cognitive processes of an actual brain, in this case attention and memory, in order to reproduce behaviors similar to those of actual living beings. A prototype is then proposed, where the architecture is applied on agents that represent virtual animals in a semantic-modeled ecosystem, and conduct a proof-of-concept experiment with it to demonstrate its effectiveness. In this experiment, the behavior of the virtual animals were consistent with reality, thus, validating the architecture’s ability to simulate living beings.
@inproceedings{DBLP:conf/iccsa/VieiraDAB18, author = {{e Silva Vieira}, Ronaldo and Dembogurski, Bruno and Alvim, Leandro G. M. and Braida, Filipe}, editor = {Gervasi, Osvaldo and Murgante, Beniamino and Misra, Sanjay and Stankova, Elena N. and Torre, Carmelo Maria and Rocha, Ana Maria A. C. and Taniar, David and Apduhan, Bernady O. and Tarantino, Eufemia and Ryu, Yeonseung}, title = {A cognitive architecture for agent-based artificial life simulation}, booktitle = {International Conference on Computational Science and its Applications ({ICCSA}) 2018}, series = {Lecture Notes in Computer Science}, volume = {10960}, pages = {197--213}, publisher = {Springer}, year = {2018}, url = {https://doi.org/10.1007/978-3-319-95162-1\_14}, doi = {10.1007/978-3-319-95162-1_14}, timestamp = {Tue, 14 May 2019 10:00:43 +0200}, biburl = {https://dblp.org/rec/conf/iccsa/VieiraDAB18.bib}, bibsource = {dblp computer science bibliography, https://dblp.org}, }