Skip to content

Commit

Permalink
Adding Noob Blue (#305)
Browse files Browse the repository at this point in the history
* Add files via upload

* Update bot.cfg

* Delete RLBotPack/Noob_Bot/src directory
  • Loading branch information
rocketeeroof authored Sep 10, 2023
1 parent a5f8b9c commit 30740a9
Show file tree
Hide file tree
Showing 12 changed files with 337 additions and 110 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,21 @@ looks_config = ./appearance.cfg
python_file = ./bot.py

# Name of the bot in-game
name = Noob Bot
name = Noob Blue

# The maximum number of ticks per second that your bot wishes to receive.
maximum_tick_rate_preference = 120
maximum_tick_rate_preference = 60

[Details]
# These values are optional but useful metadata for helper programs
# Name of the bot's creator/developer
developer = Scumclass

# Short description of the bot
description = An ironically designed bot for teamplay with any teammate.
description = Same principal as Noob Bot, borrowed code from Oneborg.

# Fun fact about the bot
fun_fact = The name has a Roblox background
fun_fact = The name has a Roblox background & Placed #9 in RLBot 2023 tournament (HC bracket)

# Tags
tags = goalie, teamplay, rumble
Expand Down
433 changes: 328 additions & 105 deletions RLBotPack/Noob_Bot/src/bot.py → RLBotPack/Noob_Blue/src/bot.py

Large diffs are not rendered by default.

Binary file added RLBotPack/Noob_Blue/src/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -105,5 +105,9 @@ def cross(self, other: 'Vec3') -> 'Vec3':

def ang_to(self, ideal: 'Vec3') -> float:
"""Returns the angle to the ideal vector. Angle will be between 0 and pi."""
cos_ang = self.dot(ideal) / (self.length() * ideal.length())
l = (self.length() * ideal.length())
if l == 0:
cos_ang = 0
else:
cos_ang = self.dot(ideal) / (self.length() * ideal.length())
return math.acos(cos_ang)
Binary file removed RLBotPack/Noob_Bot/src/logo.png
Binary file not shown.

0 comments on commit 30740a9

Please sign in to comment.