Zihua Li
Zihua Li
@bitbegin 星星随机的话就变成看运气了,没有办法通过走位控制星星的位置了
设计星星在中间点时就考虑了可以控制星星出现的情况,这样对 AI 来说更有挑战性。不过拖延星星出现有机会但是有点难。除非能判断对方下一步是移动还是旋转
这个也在 Code Game 初期设想中。把其它功能做好后就会弄这个。
更新下进度,现在数据已经存了,过两天会展现出来
@a591826944 现在这样的随机函数有什么弊端吗?
@a591826944 说实话我也没有什么太绝对的使用固定种子的 Math.random 的理由,现在只是一种偏向。比如你说的情况就是 CodeGame 希望出现的情况,两份同样的代码对战,结果总应该是一样的。
Hey @buyiyihu 👋 , It's actually a missing feature. I didn't need the names for my personal use when I was implementing this as I only needed to export a...
+1 for this enhancement. The current behaviour seems to be a little strange IMO.
Awesome! Me-me-da!