Got Snippets?
Frequently while working on a browsergame/PBBG, I’ll write a piece of code and then think to myself “hey, that might be useful in another project some day”. In those situations, I’ll put the snippet somewhere on my system, and then go about my day.
However, there are a few problems with that approach. For one thing, it’s impossible for me to show someone else my snippet collection – and sharing your snippets once you hit the 10+ mark quickly becomes less than enjoyable. Also, what happens if your system goes down?
With that said, I am pleased to announce the launch of http://pbbgsnippets.com, a new snippet-sharing site geared specifically towards PBBG developers. I collaborated with Janne Siera on the concept, and Gabriel Bianconi did the design. Janne and I are hoping that this new snippets site will be able to spur a little bit more sharing within the PBBG community; I’m sure there are tons of useful snippets out there to share.
The code behind http://pbbgsnippets.com is available, and languages can be added as necessary – if anyone would like a copy of the source code(or a language added), send an e-mail to buildingbrowsergames@gmail.com, or just post a comment.
Luke is the primary editor of Building Browsergames, and has written a large portion of the articles that you read here. He generally has no idea what to say when asked to write about himself in the third person.
-
Bonnie Melton
-
Luke

