-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding Noob Black #332
Adding Noob Black #332
Conversation
def next_bounce(pos, vel, height, g): | ||
def solve_quadratic(a, b, c, ans, side): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You could gain many performance improvements by making these nested functions into methods or global functions. Currently, then are redefined every tick.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not only is your bot basically one file, it is also basically one function (with nested ones instead). Impressive.
Maybe your next endeavour should be learning how to structure your bot in multiple files and delete the stuff you don't use. You could also improve your code by getting rid of magic numbers.
I need you to fix your tags before I accept the PR.
RLBotPack/Noob_Black/src/bot.cfg
Outdated
fun_fact = The bot has a Roblox background. | ||
|
||
# Tags | ||
tags = goalie, teamplay, rumble, hoops |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The goalie tag is reserved for bots that ONLY play goalie. The rumble tag is for bots that use the rumble items.
The tags have been changed. |
This version of Noob Black is the same one that has been modified to fit v5, only that it works for v4.