Related question: How do I attract developers to an Open Source project?
I code the game/site ninjawars.net. Recently we (me and my friend who mainly admins the server these days) open sourced the code (and creative commons share-alike'ed it). I really love working collaboratively on code, and it has driven me to increased level of competitive activity when I have had the chance, but only one of the players of the game has tried coding for the source, and he wasn't really knowledgeable enough to contribute more than a few code suggestions that I actually implemented myself. My friend who admins the server kinda lost interest in the project as well, for his own reasons.
But despite that, I personally get a lot of enjoyment out of -coding- the game already, it involves relatively simple code that is easy to improve, and since it's a web-based game, you can quickly see the effects of your improvements. It is also what let me learn enough to turn from a tech support guy into a programmer. So I think there is fun potential there, but how do I make it attractive to others and get other coders/designers involved?
Should I try to make the code more replicate-able on other servers, and thus more applicable to other developers? Abstract it somewhat into some kind of BBG framework? Discuss the game code with game developers beyond the playerbase somewhere? It straddles the line between web-game and website, so sometimes I wonder whether an open source "website" is generally a less attractive technical project for developers for some reason. What would make it more attractive to others?
General advice?
Should I try to make the code more replicate-able on other servers, and thus more applicable to other developers?
Unless you have a powerful, well-designed game engine that can be re-used for other games, this won't generate much interest.
Abstract it somewhat into some kind of BBG framework?
If you can do it well, that is one option.
I think the first step is to consider your target audience. Keep in mind that there's little hope of getting programmers interested in the code if they're not also interested by the game.
For instance, you might want to make it an "open source sandbox" for kids and beginner programmers. They can learn about programming by inspecting the source code and then make improvements which other people can then enjoy. Of course this would need a well planned quality control system to ensure the game doesn't go down too often.