hello,
i love robocode since 2008.
But my problem was always, that in FFAs without any points of interest everyone is trying to position himself out of the way. In robocode meelee, that is corners.
Imho the stile to incentivice behaviour, that risks going into middle, is more fun, than punishment for staying away.
However, i had the idea anyway and wanted to implement it. It was fun.
Changes:
I added items that robots can pick up.
There is option in UI on how much Items are on the map.
Every turn, it's checked, if bounding box of item intersects with a robot.
When it does, robot gets +20Energy (thats editable) and the Pickup goes into respawn.
When Respawn time is up (thats 200turns), its available for pickup again.
I still have a problem with rounds sometimes not ending. So i have to set some timelimit. Maybe whoever has the most life after 1000 turns wins OR respawn is disabled.
Also i set maximum life to 200.
There is also another SampleBot, that just runs to the closest pickup and collects.
There are 2 new Events: ScannedPickupEvent and PickupEvent.
Im relatively new to large projects.
The code and documentation is not very clean yet. But i can work on that, if you like the addition.
Im looking forward to your feedback.
Greetings
ps.: there is so much cool stuff doable with this: bombs, mines, hazardous landscape, health items, repair.