Taking a rest from RESTful

I have a lot of projects on the go. As I’m sure most developers do, I get curious and decide I need to try and make something that’s been done a hundred times before.

What I have I done that’s been done a hundred times before? Rolled some dice. It’s been done physically, and in almost every programming language I can think of. I did it in high school in QBasic. I did it in college in C, C++ (using OOP methodology), Fortran, and even COBOL. This time, I did it in PHP.

Why did I put myself through the bother of creating a dice roller in PHP that’s been done a hundred times before? The short answer is because it gave me something to do that has nothing to do with any paying project I have on the go right now.

The long answer is that I miss playing D&D. I used to play at least twice a month, over skype, with my brother in-law and a friend of his. It was a small crew, my brother in-law was both the DM and the fighter of the party. His friend was a warlock, who was completely obsessed with finding new books. Not spell books mind you, but books. Last time we played, he had to leave his pack behind while we went off to talk to a Dragon, as he was afraid his books would get burned. I was the unbalanced Moon Elf wizard, who suffered a traumatic brain injury as an apprentice. This basically caused my character to roll randomly on a chart for every decision that had to be made. This has resulted in some pretty funny and scary situations, but my party has adapted and sometimes casts silence on me to prevent me from saying something stupid.

Anyhow, back to the reason for the dice roller in PHP.

We haven’t been able to play for a long time. We are all quite busy in life, and keep missing the opportunity to pick up the game again. Part of the issue is the fact that we need to be rolling so much, so our 3 hour sessions sometimes turn into 6 hours while we figure out what should actually happen and all the dice results to come back.

By making a new dice system, I’ve started the building blocks of being able to make faster decisions, publicly available to anyone who logs into a game server. This may be a small part of a much larger project that I’ve started for myself, but it’s one I enjoy working on.

Originally, I was going to turn this all into a restful system that can be plugged into any system (including mobile apps) to have dice rolls done based on anything that is a valid D&D dice string. In other words, send the server the phrase “2d6+3” and you will get a value anywhere from 5 to 15.

I’ve decided that creating a complete RESTful interface to ask for a dice roll was a little much. Instead, I’ve created a library that can be used in any PHP application (even a RESTful one if you want) to roll the dice in any project. I’ve gone back to my roots of creating libraries that can be plugged into applications, instead of the current method that is popular of making everything a service. For this project at least, I’m taking a break from REST. I don’t have any data that needs to be updated. I don’t have any regular data that needs to be processed, stored, logged, or downloaded.

And it feels good. Go back to your roots when you can. Keep yourself grounded, and remind yourself why you started developing in the first place. It’s been surprisingly rejuvenating.

If you want, I’ve put the dice roller library on github. Take a look at it, and let me know what you think.


The crock of Kickstarter

I have backed a total of 6 projects on Kickstarter.

Out of those 6 projects, only one has delivered.

Now I know, without a doubt in my mind, that kickstarter in itself is a crock. Crowd funding doesn’t seem to work unless it’s done by a big company that really doesn’t need the money in the first place. Why? They never get enough money to actually finish their project.

One such project, that was very near and dear to my heart, is Nekro. That quirky, “You are the bad-guy in a Diablo like world” game that had such an interesting art style and set of mechanics, that I’ve played the Early Access release no less then twice¬†with each Nekro.

Nekro concept title image
Nekro concept title image

And now, that project is dead. That is project number 6, the only one that had an actual, playable, product. Gone. They pulled it off steam, shut down the website, and are staying very tight lipped about it, except that there is a he-said/he-said (no she’s involved that I can tell) situation about what to do with the game.

At this point, development has stopped. That much is clear. That the 2 involved are no longer working together is also clear, which means they probably won’t be continuing development on it.

My question is whether or not they are open to the idea that the community can work on it, and release it as a free, open source, game.

I won’t hold my breath, but does anyone remember Warzone 2100? I bought that game way back when it was released. Played it to completion. Then the company behind it went under, and they released all the code and assets under an Open Source License (GPL2 I believe).

Will it happen? Probably not.

But I have always been a dreamer.