WemiEnv: An Open-Source Reinforcement Learning Platform for WeChat Mini-Games

IF 2.8 4区 计算机科学 Q3 COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE
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.
微环境:b微信小游戏的开源强化学习平台
近年来,手机游戏的受欢迎程度急剧上升。随着手机游戏的出现,迷你游戏最近也引起了人们的关注。与传统手游相比,小游戏具有轻量级和平台无关性,开发成本低,吸引了成千上万的开发者和用户。微信小游戏平台是最受欢迎的平台之一,拥有超过10万个小游戏。b微信迷你游戏的多样性和多样性使其成为训练强化学习(RL)代理的理想平台。相比之下,大多数现有的RL基准环境都配备了预先确定的游戏,这些游戏总是局限于几种类型,缺乏对新的和多样化游戏的利用。为了利用微信迷你游戏进行RL研究,在本文中,我们提出了一个轻量级,易于使用的开源平台WemiEnv,用于微信迷你游戏的RL研究。WemiEnv是建立在微信开发工具上的,允许强化学习代理与小游戏进行交互。WemiEnv还支持用户自定义小游戏,只需要用户在WemiEnv API中实现少量的接口功能。我们还提供了6款流行的迷你游戏:《太空战士》、《翻转》、《2048》、《Flappy Bird》、《Timberman》和《Snake》。使用OpenAI spin Up库在提供的任务上进行RL基线实验,以测试WemiEnv的可用性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
IEEE Transactions on Games
IEEE Transactions on Games Engineering-Electrical and Electronic Engineering
CiteScore
4.60
自引率
8.70%
发文量
87
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信