Automation approach for cocos-2dx based multi-player card game for web and mobile

S. Purushothaman, Nishant Kashyap, V. Singh, A. Bharti, Sanjeed Sawant
{"title":"Automation approach for cocos-2dx based multi-player card game for web and mobile","authors":"S. Purushothaman, Nishant Kashyap, V. Singh, A. Bharti, Sanjeed Sawant","doi":"10.1109/ICCCT2.2017.7972274","DOIUrl":null,"url":null,"abstract":"Using automation to ensure reliability of a tricky card based game application is not a child's play, especially when the underlying engine is cocos-2dx, which is the world's no. 1 open-source and a cross-platform game development platform. This paper explores the challenges that can be faced while automating a game developed using cocos-2dx, such as dynamic rendering of game elements, overcoming the limitations in using automation tools like selenium in the absence of any locators to identify the visible or active elements to perform any operation. This paper further discusses the approach to bring efficient, generic and re-usable solution for these challenges while automating a multiplayer card game developed using cocos-2dx. This multi-layered approach spans across the following areas: 1) The mechanism for working and communicating with cocos-2dx web and native game client. 2) Approach for automating multiplayer game using FSM. 3) Automating the game play based on game rules which follows a heuristic approach. The benefit of this automation approach is that it makes the code 'device agnostic, which helps to run the same code against multiple devices of varying screen size and resolutions. This approach also makes the code robust, reducing any false failures since the interaction with the client is done via Javascript, which lot of UI automation tool still does not guarantee.","PeriodicalId":445567,"journal":{"name":"2017 2nd International Conference on Computing and Communications Technologies (ICCCT)","volume":"7 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2017-02-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2017 2nd International Conference on Computing and Communications Technologies (ICCCT)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICCCT2.2017.7972274","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

Using automation to ensure reliability of a tricky card based game application is not a child's play, especially when the underlying engine is cocos-2dx, which is the world's no. 1 open-source and a cross-platform game development platform. This paper explores the challenges that can be faced while automating a game developed using cocos-2dx, such as dynamic rendering of game elements, overcoming the limitations in using automation tools like selenium in the absence of any locators to identify the visible or active elements to perform any operation. This paper further discusses the approach to bring efficient, generic and re-usable solution for these challenges while automating a multiplayer card game developed using cocos-2dx. This multi-layered approach spans across the following areas: 1) The mechanism for working and communicating with cocos-2dx web and native game client. 2) Approach for automating multiplayer game using FSM. 3) Automating the game play based on game rules which follows a heuristic approach. The benefit of this automation approach is that it makes the code 'device agnostic, which helps to run the same code against multiple devices of varying screen size and resolutions. This approach also makes the code robust, reducing any false failures since the interaction with the client is done via Javascript, which lot of UI automation tool still does not guarantee.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
基于cocos-2dx的多人卡牌游戏的自动化方法
使用自动化来确保棘手的卡牌游戏应用程序的可靠性并不是一件容易的事,特别是当底层引擎是cocos-2dx时。1 .开源和跨平台的游戏开发平台。本文探讨了自动化使用cocos-2dx开发的游戏时可能面临的挑战,例如游戏元素的动态渲染,克服了在没有任何定位器来识别可见或活动元素以执行任何操作的情况下使用自动化工具(如selenium)的限制。本文进一步讨论了在自动化使用cocos-2dx开发的多人卡牌游戏的同时,为这些挑战带来高效、通用和可重用的解决方案的方法。这种多层次的方法跨越以下领域:1)与cocos-2dx网页和本地游戏客户端的工作和交流机制。使用FSM实现多人游戏自动化的方法。3)基于启发式方法的游戏规则自动化游戏玩法。这种自动化方法的好处是,它使代码与设备无关,这有助于在不同屏幕尺寸和分辨率的多个设备上运行相同的代码。这种方法还使代码健壮,减少了任何错误的失败,因为与客户端的交互是通过Javascript完成的,这是许多UI自动化工具仍然不能保证的。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Smart waste management using Internet-of-Things (IoT) HOT GLASS - human face, object and textual recognition for visually challenged Preserving data and key privacy in Data Aggregation for Wireless Sensor Networks FPGA implementation of artificial Neural Network for forest fire detection in wireless Sensor Network Rival Check Cross Correlator for locating strategic defense base using supervised learning
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1