Re: Robocode running in the browser

fnl <[email protected]> Thu, 6 Mar 2025 07:33:54 -0800 (PST)
Newsgroups gmane.comp.java.robocode
Message-ID <[email protected]>
------=_Part_50186_174714252.1741275234466
Content-Type: multipart/alternative; 
	boundary="----=_Part_50187_1150807544.1741275234466"

------=_Part_50187_1150807544.1741275234466
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Impressive work! =F0=9F=A4=A9

Robocode was not designed to run on a browser like that, so I imagine that=
=20
this was hard to pull of!

I am building a new platform for Robocode named Robocode Tank Royale:
https://github.com/robocode-dev/tank-royale

Here you start a real server, and you can build your own UI an communicate=
=20
with the server via Web Sockets.
I have not made a effort for this yet to let it run online. But this is=20
definitely possible to do, e.g. by running the server from an container,=20
and then let the bots join the server.

Best regards,
- Flemming

torsdag den 6. marts 2025 kl. 16.25.46 UTC+1 skrev Stuart Geipel:

> Try it out yourself, DrussGT vs Diamond:=20
> https://pimlu.github.io/doppio-robocode/
> WARNING: This will probably max out your CPU!
>
> Hello, I've been a longtime Robocode fan and decided my next project woul=
d=20
> be to try to get Robocode working in the browser. I was hoping for it to =
be=20
> an easy way to run battles since not as many people install desktop Java=
=20
> these days. Unfortunately the interpreter is too slow to really fulfill=
=20
> that role, but it works! It uses DoppioJVM which is a really impressive=
=20
> browser-based JVM interpreter someone made for their PhD thesis -- it get=
s=20
> all the tricky details right like reflection and class loading.
>
> Thanks,
> Stuart
>

--=20
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 e=
mail to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/robocode/13=
23fc3e-b142-4250-8205-2523ec2b0257n%40googlegroups.com.

------=_Part_50187_1150807544.1741275234466
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Impressive work! =F0=9F=A4=A9<br /><br />Robocode was not designed to run o=
n a browser like that, so I imagine that this was hard to pull of!<br /><br=
 />I am building a new platform for Robocode named Robocode Tank Royale:<br=
 />https://github.com/robocode-dev/tank-royale<br /><br />Here you start a =
real server, and you can build your own UI an communicate with the server v=
ia Web Sockets.<br />I have not made a effort for this yet to let it run on=
line. But this is definitely possible to do, e.g. by running the server fro=
m an container, and then let the bots join the server.<br /><br />Best rega=
rds,<div>- Flemming<br /><br /></div><div class=3D"gmail_quote"><div dir=3D=
"auto" class=3D"gmail_attr">torsdag den 6. marts 2025 kl. 16.25.46 UTC+1 sk=
rev Stuart Geipel:<br/></div><blockquote class=3D"gmail_quote" style=3D"mar=
gin: 0 0 0 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: =
1ex;"><div>Try it out yourself, DrussGT vs Diamond: <a href=3D"https://piml=
u.github.io/doppio-robocode/" target=3D"_blank" rel=3D"nofollow" data-safer=
edirecturl=3D"https://www.google.com/url?hl=3Dda&amp;q=3Dhttps://pimlu.gith=
ub.io/doppio-robocode/&amp;source=3Dgmail&amp;ust=3D1741361317694000&amp;us=
g=3DAOvVaw1Jgem1kcWfoxsb6sKEGpav">https://pimlu.github.io/doppio-robocode/<=
/a></div><div>WARNING: This will probably max out your CPU!</div><div><br><=
/div><div>Hello, I&#39;ve been a longtime Robocode fan and decided my next =
project would be to try to get Robocode working in the browser. I was hopin=
g for it to be an easy way to run battles since not as many people install =
desktop Java these days. Unfortunately the interpreter is too slow to reall=
y fulfill that role, but it works! It uses DoppioJVM which is a really impr=
essive browser-based JVM interpreter someone made for their PhD thesis -- i=
t gets all the tricky details right like reflection and class loading.</div=
><div><br></div><div>Thanks,</div><div>Stuart</div></blockquote></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/1323fc3e-b142-4250-8205-2523ec2b0257n%40googlegroups.com?utm_mediu=
m=3Demail&utm_source=3Dfooter">https://groups.google.com/d/msgid/robocode/1=
323fc3e-b142-4250-8205-2523ec2b0257n%40googlegroups.com</a>.<br />

------=_Part_50187_1150807544.1741275234466--

------=_Part_50186_174714252.1741275234466--