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

in #spt2 years ago (edited)
Sort:  

Hi @maiyude!

Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your UA account score is currently 3.720 which ranks you at #5559 across all Steem accounts.
Your rank has not changed in the last three days.

In our last Algorithmic Curation Round, consisting of 113 contributions, your post is ranked at #56.

Evaluation of your UA score:
  • You're on the right track, try to gather more followers.
  • The readers like your work!
  • Try to work on user engagement: the more people that interact with you via the comments, the higher your UA score!

Feel free to join our @steem-ua Discord server

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.

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

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 :)

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.

 2 years ago Reveal Comment