You are viewing a single comment's thread from:
RE: 学习笔记(2):steemmonsters对战模拟器学习
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 :)
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.
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 :)
That bugs sounds curious. I'll have to take a closer look.
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.