Skip to content

Instantly share code, notes, and snippets.

View MuhammedZatar's full-sized avatar
🎯
Focusing

Muhammed Zatar MuhammedZatar

🎯
Focusing
View GitHub Profile
@MuhammedZatar
MuhammedZatar / AbstractDestroyer.rb
Created October 29, 2021 20:57
AbstractDestroyer
class Abstract < RTanque::Bot::Brain
NAME = 'Abstract'
include RTanque::Bot::BrainHelper
def tick!
command.speed = RTanque::Bot::MAX_SPEED
nearest = nearest_target()
if (!defined?(@direction))
@direction = 0