Coding and Roleplaying - Is There a Connection?
TossCobble asks: "With table-top roleplaying giant Wizards of the Coast (makers of Dungeons & Dragons, for those not in the know) broadcasting an open call for adventure designers and developers (including an entertaining developer test to gauge your own game-design talent and knowledge), I found myself once again considering the odd appeal of gaming for us programming types. It's interesting that something so free-form-ishly creative, socially dynamic, and utterly fantastical be fun for folks so grounded in logical programming. Of course, my theory is that gaming and programming actually have more in common than we might think. Tabletop roleplaying involves coming up with creative solutions to problems set in a clearly-defined ruleset, involve constant data-tracking and minor mathematical equations, and involve working together with small groups of people toward like-minded goals. Conversely, love of roleplaying can illustrate how important creativity is to good programming. What do you think?"
A lack of women!
Well, I used to code, and me and the wife like to role play every once in a while, so I guess there is a correlation.
I ... [rolls d20] ... agree totally!
Or am I missing some non-obvious shared characteristic?
Ignore the "p2p is theft" trolls, they're just uninformed
Shhh!
I ban you away from my wow tower! Begone!
http://saveie6.com/
...having sex with fairies. We jocks do all that in the real world, except we don't call them fairies, we call them jocks
Although I'm a geek, I'm not gay, so please refrain from making generalizing statements like that.
Thanks for the info that jocks are fairies, though. One more reason to stay away from them.
Gosh. I can't imagine a post more loaded with derision and smug superiority than yours.
Except for this one.
I think poor people skills is a direct result of Dungeons and Dragons attribute buy system. If you spend points on your charisma score, then you don't have enough for constitution and your primary statistic. Everyone who plays D&D knows that charisma is a worthless stat and maybe that mentality just spills over to the real world.
God spoke to me.
yes, but some code reviews I have seen were very much like that ;-)
Now we'll have a wave of LARPers applying for coding jobs, and all office disputes will be resolved by a fiesty game of paper-rock-scissors.
Returned Peace Corps IT Volunteer
Which means that computer programs generated from said satanic code are satanic.
Which means that, if there's a correlation, and Chick comes to this conclusion, his website will be off the net pretty soon.
This sig no verb.
Gary Gygax: "It's a..." (rolls dice) "...pleasure to meet you!"
(later in the program, Gary rolls dice to make a decision, and Al Gore grabs his arm. Al Gore: "Put the dice away, or I'm taking them away!"
BAJAJAJA!!!
(%i1) factor(777353);
(%o1) 777353
Finally, I am able to help with the amazing mastery of Microsoft BASIC v5.21 on CP/M 2.2 that I had in my youth. I never thought that this moment, and my hours spent in front of the computer writing programs to create D&D characters would pay off 22 years later!
.4, 1.2 and 2.2. That should be 1, 1, 2 for a total of 4. Your function would return 0 + 1 + 5. Yeah, you're adding in those extra 1s, but because they aren't within the INT() they aren't being used properly.
INT() doesn't round, it truncates.
So let's say the 6*RND does return 1.6, 2.4 and 3.3... You're right in that his function would return 2.6 + 3.4 + 4.3 = 10.3... truncated to 10.
Now yours:
INT((6 * RND(0)) + INT(6 * RND(0)) + INT(6 * RND(0) + 3 )
But your function is just as wrong. Suppose RND*6 returns
It should be simply written as this...
INT((6 * RND(0) + 1) + INT(6 * RND(0) + 1) + INT(6 * RND(0) + 1)
Or if you were a master at BASIC, you would do something like this, knowing that this is a routine that you will use over and over again:
DEF FN D(D%) =INT(D% * RND(0) +1)
Then write your line:
D(6) + D(6) + D(6)
I think this is a lesson in, always break things down to their simplest components, and then just do that. Don't try to be fancy and shortcut steps... it makes your code harder to read, as well as potentionally introduces bugs.
Most serious gamers don't buy games out of a shrink wrapped box any more - they take packages from a number of sources and roll their own rules distro ... wait, what was the the article's original question? :)
If you mean that mainstream litterature is too: boring or depressing and filled with utter emotional drivel, then you're right. I'd rather read Anna Karenina again (please God no!) than read anything in Oprah's book club. Why? Because I don't want to hear about some woman's struggle to better herself after her sexual abuse/divorce/poor upbringing. I want action! I want characters that do something rather than worry about their feelings (gee, if you replace feelings with the question if there's a God, we're back at Anna Karenina again). I read sci fi because it's entertaining. And I want a happy ending when I watch a movie, damn it!
Genius is one percent inspiration and 99 percent perspiration, which is why engineers sometimes smell really bad.