Hi, my query is when my robot hit bullet to the enemy, then not avoid custom walls,
as per my challenge in bettelfield created custom walls,
so how we avoid custom walls when hit to the enemy, any method?
my all bullet are waste on custom walls because my robot target to enemy but custom walls in between.
Anonymous
I am not sure what you are asking for?
About Walls in Robocode
Robocode does not have "custom walls". It only has the standard walls on the sides of the battlefield.
Bullet Miss Events
When a bullet gets outside of the battlefield, this is considered a "bullet miss". You can capture this event using:
Custom Events
You can also create your own custom events using:
How Custom Events Work
CustomEvent
that takes aCondition
as inputCondition
is your own (inherited) classtest()
method to define when the event is fired on your own termsExample Structure
This allows you to create sophisticated event-driven behaviour in your robot based on any criteria you define.
Last edit: Flemming N. Larsen 2025-07-16