We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
随着babywars地图池逐渐增大,诸如Ramdon2P.lua等包含若干地图的特殊地图渐渐的变得更加难找到。而且这类地图的属性组成与普通的地图也有区别,并且需要频繁维护。 此外,个人认为Ramdon2P.lua中的数据相对冗余。
Ramdon2P.lua
playersCount = 2
WarFieldList.lua
_HighQuality
The text was updated successfully, but these errors were encountered:
RushFTK
No branches or pull requests
现象
随着babywars地图池逐渐增大,诸如
Ramdon2P.lua
等包含若干地图的特殊地图渐渐的变得更加难找到。而且这类地图的属性组成与普通的地图也有区别,并且需要频繁维护。此外,个人认为
Ramdon2P.lua
中的数据相对冗余。建议
playersCount = 2
的非娱乐测试图,对WarFieldList.lua
中的全部地图遍历即可,在WarFieldList.lua
故意有序维护的情况下,更可以在条件不符时直接终止遍历,其时间复杂度为线性级,不会造成影响。然后可以移除
Ramdon2P.lua
减小维护量。后缀
_HighQuality
类似The text was updated successfully, but these errors were encountered: