Re: Robocode running in the browser
Stuart Geipel <[email protected]> Fri, 7 Mar 2025 05:04:31 -0800 (PST)
| Newsgroups | gmane.comp.java.robocode |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_106960_1831687163.1741352671810 Content-Type: multipart/alternative; boundary="----=_Part_106961_643119993.1741352671810" ------=_Part_106961_643119993.1741352671810 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Wow, that is really cool! I might try learning C# by playing with this! Thanks, Stuart On Thursday, March 6, 2025 at 10:33:54=E2=80=AFAM UTC-5 fnl wrote: > Impressive work! =F0=9F=A4=A9 > > Robocode was not designed to run on a browser like that, so I imagine tha= t=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 communicat= e=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=20 >> would be to try to get Robocode working in the browser. I was hoping for= it=20 >> to be an easy way to run battles since not as many people install deskto= p=20 >> Java these days. Unfortunately the interpreter is too slow to really=20 >> fulfill that role, but it works! It uses DoppioJVM which is a really=20 >> impressive browser-based JVM interpreter someone made for their PhD thes= is=20 >> -- it gets all the tricky details right like reflection and class loadin= g. >> >> 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/08= 4272ee-b8f7-4ed9-a7d1-ed2737816a7an%40googlegroups.com. ------=_Part_106961_643119993.1741352671810 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div>Wow, that is really cool! I might try learning C# by playing with this= !</div><div><br /></div><div>Thanks,</div><div>Stuart</div><br /><div class= =3D"gmail_quote"><div dir=3D"auto" class=3D"gmail_attr">On Thursday, March = 6, 2025 at 10:33:54=E2=80=AFAM UTC-5 fnl wrote:<br/></div><blockquote class= =3D"gmail_quote" style=3D"margin: 0 0 0 0.8ex; border-left: 1px solid rgb(2= 04, 204, 204); padding-left: 1ex;">Impressive work! =F0=9F=A4=A9<br><br>Rob= ocode was not designed to run on a browser like that, so I imagine that thi= s was hard to pull of!<br><br>I am building a new platform for Robocode nam= ed Robocode Tank Royale:<br><a href=3D"https://github.com/robocode-dev/tank= -royale" target=3D"_blank" rel=3D"nofollow" data-saferedirecturl=3D"https:/= /www.google.com/url?hl=3Den&q=3Dhttps://github.com/robocode-dev/tank-ro= yale&source=3Dgmail&ust=3D1741425935778000&usg=3DAOvVaw1xbuff82= LNYuyLofL5790Z">https://github.com/robocode-dev/tank-royale</a><br><br>Here= you start a real server, and you can build your own UI an communicate with= the server via Web Sockets.<br>I have not made a effort for this yet to le= t it run online. But this is definitely possible to do, e.g. by running the= server from an container, and then let the bots join the server.<br><br>Be= st regards,<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= skrev Stuart Geipel:<br></div><blockquote class=3D"gmail_quote" style=3D"m= argin: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://pimlu.gith= ub.io/doppio-robocode/" rel=3D"nofollow" target=3D"_blank" data-saferedirec= turl=3D"https://www.google.com/url?hl=3Den&q=3Dhttps://pimlu.github.io/= doppio-robocode/&source=3Dgmail&ust=3D1741425935778000&usg=3DAO= vVaw3KiZhRv2KKbZAM-sjITopQ">https://pimlu.github.io/doppio-robocode/</a></d= iv><div>WARNING: This will probably max out your CPU!</div><div><br></div><= div>Hello, I've been a longtime Robocode fan and decided my next projec= t would be to try to get Robocode working in the browser. I was hoping for = it to be an easy way to run battles since not as many people install deskto= p Java these days. Unfortunately the interpreter is too slow to really fulf= ill that role, but it works! It uses DoppioJVM which is a really impressive= browser-based JVM interpreter someone made for their PhD thesis -- it gets= all the tricky details right like reflection and class loading.</div><div>= <br></div><div>Thanks,</div><div>Stuart</div></blockquote></div></blockquot= e></div> <p></p> -- <br /> You received this message because you are subscribed to the Google Groups &= quot;Robocode" 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/084272ee-b8f7-4ed9-a7d1-ed2737816a7an%40googlegroups.com?utm_mediu= m=3Demail&utm_source=3Dfooter">https://groups.google.com/d/msgid/robocode/0= 84272ee-b8f7-4ed9-a7d1-ed2737816a7an%40googlegroups.com</a>.<br /> ------=_Part_106961_643119993.1741352671810-- ------=_Part_106960_1831687163.1741352671810--