首页> 外文会议>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的网络和移动多人纸牌游戏的自动化方法

获取原文

摘要

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 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号