当前位置:网站首页>How can Huawei online match improve the success rate of player matching
How can Huawei online match improve the success rate of player matching
2022-07-05 21:39:00 【Huawei Developer Forum】
background
When we match players , It is inevitable that the number of online players of the game is small or the difference of player attributes is large, which does not meet the matching conditions and other reasons , As a result, players cannot match the right opponent . At this time, how can we increase the success rate of player matching ?
Solution
Method 1 : Optimize matching rules
When configuring matching rules for Huawei online battle service , Allow configuration of relaxation properties . What does that mean ? When online players cannot be matched within the attribute range of a matching rule , At this time, online players with large attribute differences can match , You can configure the attribute relaxation interval and attribute relaxation duration . When the matching duration exceeds the relaxed condition , That is, trigger the relaxation of attribute interval , That is, players can match in a larger attribute range , To increase the probability of successful matching . This way can better take into account the fairness of players and the playability of the game .
Method 2 : Robot filling
If the above method , The effect cannot be achieved , When players match, there is still a high probability that they cannot match online players , Consider opening the filling function . Opening method : When configuring matching rules , take “ Robot filling ” Options , Select on . After opening the service , When the player matches the overall timeout , Still can't match the real player , Then the system will calculate according to the player information , Return to the robot player who meets the player's ability range , Robot player information includes all player attribute information configured in the matching rules , Developers can construct robot capabilities according to attribute values . Function opening is very simple , What matters is how the game is used . Above screenshot , After opening robot filling , Players can always match successfully , Developers need to return according to the successful matching room Instance to get the list of players in the room , Analyze players isRobot attribute , If the value is 1 Indicates that the player is a robot player , If the value is 0, Expressed as a real player . The developer determines whether to trigger the game's local robot logic according to the above attributes .
How to synchronize robot operations between different clients ?
Huawei online battle service provides pseudo-random number generator , Developers can generate random numbers at different ends according to this method . Reference documents :https://developer.huawei.com/consumer/cn/doc/development/AppGallery-connect-Guides/gameobe-randomnumber-js-0000001250978031
边栏推荐
- MATLAB | App Designer·我用MATLAB制作了一款LATEX公式实时编辑器
- PostGIS installation geographic information extension
- 思特奇加入openGauss开源社区,共同推动数据库产业生态发展
- 怎么利用Tensorflow2进行猫狗分类识别
- Advantages of robot framework
- Interviewer: will concurrent programming practice meet? (detailed explanation of thread control operation)
- 【日常训练】729. 我的日程安排表 I
- MMAP
- Parker driver maintenance COMPAX controller maintenance cpx0200h
- 2022-07-03-CKA-粉丝反馈最新情况
猜你喜欢
Zhang Lijun: la pénétration de l’incertitude dépend de quatre « invariants»
让开发效率飞速提升的跨端方案
Scenario interview: ten questions and ten answers about distributed locks
Pytoch practice -- MNIST dataset handwritten digit recognition
Simple interest mode - evil Chinese style
Some common processing problems of structural equation model Amos software
MMAP
Golang(1)|从环境准备到快速上手
EasyExcel的读写操作
Oracle检查点队列–实例崩溃恢复原理剖析
随机推荐
[daily training -- Tencent select 50] 89 Gray code (only after seeing the solution of the problem)
Pointer parameter passing vs reference parameter passing vs value parameter passing
Chapter 05_ Storage engine
Teach yourself to train pytorch model to Caffe (2)
GCC9.5离线安装
Add ICO icon to clion MinGW compiled EXE file
Evolution of zhenai microservice underlying framework from open source component encapsulation to self-development
Cross end solution to improve development efficiency rapidly
【日常训练】729. 我的日程安排表 I
Establishment of terminal security capability verification environment and penetration test records
vant 源码解析之 utils/index.ts 工具函数
校招期间 准备面试算法岗位 该怎么做?
matlab绘制hsv色轮图
Alibaba cloud award winning experience: build a highly available system with polardb-x
Cold violence -- another perspective of objective function setting
1.2 download and installation of the help software rstudio
@Validated基础参数校验、分组参数验证和嵌套参数验证
uni-app 蓝牙通信
有些事情让感情无处安放
思特奇加入openGauss开源社区,共同推动数据库产业生态发展