RE: 学习笔记(2):steemmonsters对战模拟器学习

avatar

You are viewing a single comment's thread:

Hello, I hope English is fine with you. I used Google translator to read your blog post.

Thanks for looking at my simulator :) I'd love to know which bugs you found, so that I can keep improving the simulator.

Regarding the precision of the simulator, I think you can't get better than 70/80% if you don't use the match RNG seed. I haven't added it yet, but might in a future update.



0
0
0.000
3 comments
avatar
(Edited)

Your work is great, thank you.

I found a few problems:
1.Some skills fail. for example Thorns have failed.
2.miss seem to fail.
3.After the monster dies, it will be deleted repeatedly,The problem is in the following code:

4.No untamed new skills

0
0
0.000
avatar

Thank you :)

  1. I'll look into the skills more thoroughly and clean up my code. Thank you for pointing it out :) There are probably a lot more bugs. I think I need to add more tests to detect those kinds of bugs.

  2. The problem with misses/hits is that they are not deterministic. Whether a monster misses is determined in the match. I'd need to add the seed of a match to my random number generator. And the seed is only known after a match finished. So without the seed, there is some variance there. But I assume that there are some bugs within that part of the code which need fixing :)

  3. That bugs sounds curious. I'll have to take a closer look.

  4. I'm working on the Untamed Skills right now. I've added 70% of them to my local repository. Haven't had time to push it to GitHub. But I'll do that soon.

I hope I'll fix the bugs you've found very soon. Thanks again for taking the time to look at my code :)

0
0
0.000
avatar

I actually came on here to congratulate you @bauloewe on having designed a @splinterlands sim... but I see you're giving that out for free? wow 👏 I guess it's 'simple' but also 'not' ... if you know what I mean. I guess it's depends on the person at the end of the keyboard 😉 As well, I guess impossible to make something '100%' accurate like you say. But still, maybe it's time for me to start learning some python... heh 👍 Right now I am doing a different course but it's been on my mind - certainly would mesh with STEEM well.

0
0
0.000