Slither.io-bot
Slither.io-bot copied to clipboard
Instrumentation infrastructure
Description
- Adds logUtil, and easy way to profile performance and get statistics including mean, stdev, min, and max
- Adds stdev stat to bot.scores display
- Adds indication of last X (default 200) frames performance from computeFoodGoal
TESTING STAGE
Should not change actual bot performance.
Types of changes
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
- [x] I have read CONTRIBUTING.md
- [x] I fully understand the Github Flow and I'm merging into the develop branch , which is the default branch, and not the master branch
- [x] My code adheres to the code style of this project but most importantly of all to the things mentioned, which I have read, in CONTRIBUTING.md
- [ ] If my change requires a change to the documentation, I have updated the documentation in /docs accordingly.
- [ ] I have included the results of the test required.
I like it! Need to fix some minor issues and then I will approve.