Longxiang Shi;Qianchen Ding;Jingzhe Hou;Binbin Zhou;Canghong Jin;Ye Tao;Jinling Wei;Shijian Li
{"title":"WemiEnv: An Open-Source Reinforcement Learning Platform for WeChat Mini-Games","authors":"Longxiang Shi;Qianchen Ding;Jingzhe Hou;Binbin Zhou;Canghong Jin;Ye Tao;Jinling Wei;Shijian Li","doi":"10.1109/TG.2025.3528371","DOIUrl":null,"url":null,"abstract":"The popularity of mobile games has surged in recent years. Along with mobile games, the emergence of mini-games has recently raised attention. Compared to traditional mobile games, mini-games are more lightweight and platform-independent with low development cost, which has attracted thousands of developers and users. WeChat mini-games platform is one of the most popular platforms with over 100 000 mini-games. The diversity and variety of WeChat mini-games make it an ideal platform for training reinforcement learning (RL) agents. In contrast, most of the existing RL benchmark environments are equipped with predetermined games, which are always limited to several genres and lack the utilization of new and diverse games. To utilize the WeChat mini-games for RL research, in this article, we propose WemiEnv, a lightweight, easy-to-use and open-source platform for RL research towards WeChat mini-games. WemiEnv is built on the WeChat developer tools and allows RL agents to interact with the mini-games. WemiEnv also supports user-customized mini-games, requiring users to implement only a few interface functions within WemiEnv API. We also provide six popular mini-games: <italic>Space Fighter</i>, <italic>Flip, 2048</i>, <italic>Flappy Bird</i>, <italic>Timberman</i>, and <italic>Snake</i> as ready-to-use tasks. Experiments were conducted with the OpenAI Spinning Up library for RL baselines on the provided tasks to test the usability of WemiEnv.","PeriodicalId":55977,"journal":{"name":"IEEE Transactions on Games","volume":"17 3","pages":"642-651"},"PeriodicalIF":2.8000,"publicationDate":"2025-01-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE Transactions on Games","FirstCategoryId":"94","ListUrlMain":"https://ieeexplore.ieee.org/document/10839048/","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
The popularity of mobile games has surged in recent years. Along with mobile games, the emergence of mini-games has recently raised attention. Compared to traditional mobile games, mini-games are more lightweight and platform-independent with low development cost, which has attracted thousands of developers and users. WeChat mini-games platform is one of the most popular platforms with over 100 000 mini-games. The diversity and variety of WeChat mini-games make it an ideal platform for training reinforcement learning (RL) agents. In contrast, most of the existing RL benchmark environments are equipped with predetermined games, which are always limited to several genres and lack the utilization of new and diverse games. To utilize the WeChat mini-games for RL research, in this article, we propose WemiEnv, a lightweight, easy-to-use and open-source platform for RL research towards WeChat mini-games. WemiEnv is built on the WeChat developer tools and allows RL agents to interact with the mini-games. WemiEnv also supports user-customized mini-games, requiring users to implement only a few interface functions within WemiEnv API. We also provide six popular mini-games: Space Fighter, Flip, 2048, Flappy Bird, Timberman, and Snake as ready-to-use tasks. Experiments were conducted with the OpenAI Spinning Up library for RL baselines on the provided tasks to test the usability of WemiEnv.