首页> 外文会议>International Conference on Computing and Communications Technologies >Automation approach for cocos-2dx based multi-player card game for web and mobile
【24h】

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

机译:基于COCOS-2DX的Web和Mobile多人玩具卡游戏自动化方法

获取原文

摘要

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.
机译:使用自动化以确保基于棘手的卡游戏应用程序的可靠性不是孩子的戏剧,尤其是当底层引擎是Cocos-2DX时,这是世界的不。 1开源和跨平台游戏开发平台。本文探讨了使用COCOS-2DX开发的游戏,例如游戏元素的动态渲染,克服自动化工具在没有任何定位器的情况下克服可见或有源元素的自动化工具的限制执行任何操作。本文进一步讨论了这些挑战带来高效,通用和可重复使用的解决方案的方法,同时自动化使用Cocos-2dx开发的多人卡游戏。这种多层方法跨越以下方面的跨度:1)与Cocos-2DX Web和本机游戏客户端工作和通信的机制。 2)使用FSM自动化多人游戏的方法。 3)基于游戏规则自动化游戏播放,遵循一种启发式方法。这种自动化方法的好处是它使代码的设备不可知论,这有助于对多个不同屏幕大小和分辨率的多个设备运行相同的代码。这种方法还使代码强大,从而减少了任何虚假故障,因为与客户端的交互是通过JavaScript完成的,这很多UI自动化工具仍然不保证。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号