Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
A persistent multiplayer online programming game (gr1d.org)
33 points by josephcooney on Dec 13, 2010 | hide | past | favorite | 14 comments


This looks amazing! I've been looking for a game like this for a long time. I hope it lives up to my expectations. :)


Out of curiosity, how do you handle things like preventing an infinite loop from bringing down the server?


Maybe that's what's happening right now :-)

If I would build something like this, I'd go for an interpreter with a stack you manage yourself to handle infinite loops... using a timeout, not by solving the halting problem, random smartass!. But I over-engineer everything so don't trust me on that.

They probably use a timeout on the process too. Actually I would think using "dangerous" (i.e. filesystem) code is the real danger they'd have to defend against.


The site appears to be down. Does anyone have a cache/description?


This video is embedded on the home page: http://www.youtube.com/watch?v=3XZ9-_EgisE.

"gr1d.org is a persistent multiplayer online programming game. Its inspired by games such as Robocode, Planetarion, various persistent online worlds and cyberpunk fiction.

"gr1d.org combines write-your-own code, persistent online world, cyberpunk-RPG, and multiplayer risk style domination and resource gathering together into a fun experience for programmers.

"As you gain levels, skills and experience, you can code more powerful agents to use these skills. You produce a fully-fledged class in the .NET ide of your choice, and upload it to the gr1d.

"While you're offline, your agents continue to run within the gr1d, looking for experience, resources and combat."


It'd be nice to see this move to more of a language agnostic platform.


How? And how much work would that be vs right now.

Continuation: Actually, I thought more about it, and I might have some possible solutions. It would probably change how the game works, though.

If unique players were separate processes altogether and they communicated with the server, then the game could support a plethora of languages because it could run each player as a separate process and link to it.

This seems incredibly dangerous for the server (running rogue programs), and annoying for players ("oh, sorry, your particular language isn't supported :/" or "oh sorry, the most recent version of your language isn't supported, even though you're using brand-new feature X"), but possible.


"gr1d.org supports agents written using .NET on any available platform, in any available .NET language."

I've only use the c# variant of .net, but i'm under the impression that the framework itself is extremely language agnostic: http://en.wikipedia.org/wiki/List_of_CLI_languages


.Net is run inside a virtual machine, akin to the JVM. As long as you can compile down to the bytecode language (CIL), then you can input whatever language you want.

In fact, I believe you should be able to use Mono to develop for this using a fully-OSS stack. (I could be wrong)


Such as...?


JVM perhaps?


Isn't .NET a little more flexible than the JVM when considering different languages?


The site isn't actually down. I can load the pages, it just takes a minute or two. Give it time.


Obviously my EC2 isn't E enough. This should be improved by the time most read this update.

Mono seems to work great using mono develop on osx




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: