Re: Proposal: Modernizing Robocode Restrictions for AI Development

Pavel Ĺ avara <[email protected]> Sun, 14 Jun 2026 14:59:32 +0200
Newsgroups gmane.comp.java.robocode
Message-ID <CABB+072Xkm1GNLoC_dr7t1fWWJKsBUkfMtCxGNyEn8bN-OQCfg@mail.gmail.com>
--0000000000009368b506543648e5
Content-Type: text/plain; charset="UTF-8"

You can use `-DNOSECURITY=true` to disable many of the constraints when
training on your own machine.

On the other hand, I'm very interested in allowing players to use their LLM
to help with coding better robots.
I'm playing with such an idea myself. Long time ago I helped to write a
battle recorder, so that we can learn from battles in offline learning.

To be able to run recorded battles in un-constrained environment, I'm
building "experience replay" engine for last few weeks.

https://github.com/robo-code/robocode/compare/main...pavelsavara:robocode:dejavu

I'm not sure we want the robocode robot to become DNN or LLM with GPU
requirements. That would be a very different game.



> ## Proposed Reforms
>> 1. **Increase File Limit**
>>    - Raise the robot file I/O limit from 200 KB to at least 1 MB.
>>    - This allows robots to store richer training data and strategies.
>>
>>
I think this is a valuable constraint. Also code size is valuable in the
same way.


> 2. **Allow Background Training via API**
>>    - Enable robots to request permission through an API from the Robocode
>> engine to continue self-learning in the background after matches.
>>    - Foreground matches remain unaffected, ensuring fairness.
>
>
I agree we could make it possible to lift the thread killing feature of the
game engine. For the local environment, not for tournaments.
Being able to learn from online battles under time constraints is part of
the challenge.

my 2c
Pavel

-- 
You received this message because you are subscribed to the Google Groups "Robocode" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/robocode/CABB%2B072Xkm1GNLoC_dr7t1fWWJKsBUkfMtCxGNyEn8bN-OQCfg%40mail.gmail.com.

--0000000000009368b506543648e5
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_quote gmail_quote_container"><div>You =
can use `<code class=3D"gmail-">-DNOSECURITY=3D<span class=3D"gmail-hljs-li=
teral">true`=C2=A0</span></code>to disable many of the constraints when tra=
ining on your=C2=A0own machine.</div><div><br></div><div>On the other hand,=
 I&#39;m very interested in allowing players to use their LLM to help with =
coding better robots.</div><div></div><div>I&#39;m playing with such an ide=
a myself. Long time ago I helped to write a battle recorder, so that we can=
 learn from battles in offline learning.</div><div><br></div><div>To be abl=
e=C2=A0to run recorded battles in un-constrained environment, I&#39;m build=
ing &quot;experience replay&quot; engine for last few weeks.</div><div><br>=
</div><div><a href=3D"https://github.com/robo-code/robocode/compare/main...=
pavelsavara:robocode:dejavu">https://github.com/robo-code/robocode/compare/=
main...pavelsavara:robocode:dejavu</a></div><div><br></div><div>
<div>I&#39;m not sure we want the robocode robot to become DNN or LLM with =
GPU requirements. That would be a very different game.</div><div></div>

<br></div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margi=
n:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex=
"><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1=
ex">## Proposed Reforms<br>1. **Increase File Limit** =C2=A0<br>=C2=A0 =C2=
=A0- Raise the robot file I/O limit from 200 KB to at least 1 MB. =C2=A0<br=
>=C2=A0 =C2=A0- This allows robots to store richer training data and strate=
gies.<br><br></blockquote></div></blockquote><div><br></div><div>I think th=
is is a valuable constraint. Also code size is valuable in the same way.</d=
iv><div></div><div></div><div>=C2=A0</div><blockquote class=3D"gmail_quote"=
 style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);p=
adding-left:1ex"><div class=3D"gmail_quote"><blockquote class=3D"gmail_quot=
e" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204)=
;padding-left:1ex">2. **Allow Background Training via API** =C2=A0<br>=C2=
=A0 =C2=A0- Enable robots to request permission through an API from the Rob=
ocode engine to continue self-learning in the background after matches. =C2=
=A0<br>=C2=A0 =C2=A0- Foreground matches remain unaffected, ensuring fairne=
ss.</blockquote></div></blockquote><div><br></div><div>I agree we could mak=
e it possible to lift the thread killing feature of the game engine. For th=
e local environment, not for tournaments.</div><div></div><div>Being able t=
o learn from online battles under time constraints=C2=A0is part of the chal=
lenge.</div><div><br></div><div>my 2c</div><div>Pavel</div><div><br></div><=
/div></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;Robocode&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:[email protected]">robocode+u=
[email protected]</a>.<br />
To view this discussion visit <a href=3D"https://groups.google.com/d/msgid/=
robocode/CABB%2B072Xkm1GNLoC_dr7t1fWWJKsBUkfMtCxGNyEn8bN-OQCfg%40mail.gmail=
.com?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.com/d/ms=
gid/robocode/CABB%2B072Xkm1GNLoC_dr7t1fWWJKsBUkfMtCxGNyEn8bN-OQCfg%40mail.g=
mail.com</a>.<br />

--0000000000009368b506543648e5--