Saturday, March 24, 2007

Writing

I could write 50,000 words.

No I couldn't

Yes I could.

If you put together all the fiction I've written in the last five years, it wouldn't amount to 50,000 words. 10,000 words for "One Bad Thing". 5,000 words for "The Road Song", and two or three shorter stories of 2,000 words or so.

They're good words, though. High quality words. Each one lovingly prepared and simmered to perfection.

I haven't written any fiction since 2004. But, I have done some writing... an account of our time in New Orleans... a blurb about our home group for the church newsletter... just this evening I wrote a techie article about using javascript to write roguelikes (a subject about which, you'll have to admit, I am a relative expert).

And there's this blog. If blogging is writing. Blogging might just be blogging. I dunno.

Hmm. I take that back -- I have written some fiction recently -- the backstory to the Seven Day Quest.

Clearly I need to exercise my fiction muscles! Time for a new story. Maybe about the Natchez Trace.

If anyone adds a comment to this post asking for it, then I'll put one of my short stories up on the web, so you can see what I'm talking about.

No point in doing that if I'm just talking to myself, though.

Thursday, March 22, 2007

Next Up

Well, next week I will participate in the Seven Day Roguelike Playing Week.

The date has been set for the 2007 24 Hour Comics Day: October 20th. A long ways from now and frighteningly close to the beginning of NaNoWriMo.

Of course, by the rules of 24 hour comics, I don't have to do it on the day. But I want to. Also, I don't have to go to any particular location, but I want the complete experience. Last year there were 89 locations where folks got together to do their 24 hour comic. None of them were in Arizona. I'm all for doing a bit of traveling as part of the whole adventure.

As far as what the comic is going to be about, the spirit of the 24 hour comics challenge is that you don't put a lot of thought into that -- no preliminary sketches, no story outlines. Sit down and start drawing. So, in that spirit, I'm going to try not to think about what my comic will be about. I will try to not think of that for seven months. Good luck to me. I will, however, start spending more time sketching. My sketching muscles are a bit atrophied.

NaNoWriMo follows shortly thereafter. The spirit of that contest is that you don't have copy written before November 1, but you can have notes, characters, plot outline figured out in advance.

Sunday, March 18, 2007

One Down, Two To Go?

Well, the challenge is over. According to the official report, twenty-two developers accepted the challenge, and eight of us succeeded.

Looking at other 7DRLs in general, it appears that minor bug fixes after the deadline are considered okay, so that's good.

And I was pleased to see an overall-positive review of my game in Roguelike. The Magazine. So I feel good about the seven day quest and The Seven Day Quest. I hope to hear feedback from my friends about it at some point.

But the experience was also sobering as I look forward to the rest of the grand plan, i.e. the 24hour comic and NaNoWriMo.

Actually, the 24 hour comic doesn't have me too worried, except I don't know if I can really stay awake for 24 hours anymore. I have plenty of time to polish up my drawing skills, etc. and I don't expect to have trouble coming up with enough material for 24 pages.

But NaNoWriMo may be biting off more than I can chew. A 175 page novel in 30 days. I found the 7DRL experience exhausting -- working 5 hours on the Roguelike after 8 hours of my regular job left me completely wasted after just a few days.
And writing code is a heck of a lot easier than writing fiction (at least for me). The longest piece I've written to date is 30 page short story. Unless I take at least most of November off, it's hard to imagine even coming close to success.

Saturday, March 17, 2007

Freakin Off-By-One Error

Writing software for 27 years, and done in by the classic newbie mistake. Can't even claim bleariness, it was code I wrote when I was awake.

For potions or scrolls, there's about a 1 in 100 chance it will create a treasure with undefined stats. If you pick this treasure up, the game breaks.

-sigh-

I'm going to upload the fix; not sure what that means in regards to whether I can still call this a clean victory.

Okay, so maybe I'm rationalizing here, but... I did finish the game with seven hours to spare. And I found, fixed, and uploaded the fix in only about 90 minutes... and the challenge is still going on; the weekend isn't over. And a bug fix is different from adding features.

-sigh-

Friday, March 16, 2007

Breaking The Tape

It is done!

Here is a link to the new intro page: http://www.babelsphere.com/7dayquest/game/

The game is uploaded. It's playable. It meets the criteria. My next step is to post to rec.games.roguelike.announce and declare victory! With seven hours to spare.

And I'm happy with the outcome. The game is fun to play. I like the graphics. There's enough there for sure.

I'm happy with the code overall, considering how quickly it was written. The javascript is pretty clean, and there are no funky things like code branching based on what browser you are using. The game works in IE on windows and Firefox on windows and Mac. I know why it doesn't work on Safari (Safari just doesn't like using a div for input, it's an HTML problem, not a js one). I could work on fixing that, but it's not necessary for declaring victory.

Of course, there are a few shortcomings. The chase algorithm has a weird anomaly -- I know what it is and how to fix it, but it's actually kind of fun the way monsters behave unpredictably, and it keeps the hero on his toes, so I'm leaving that as is.

The balance interface is kind of klunky, and you have to rebalance each time you start a new game.

The winning and losing screens have been improved, but not much.

Never implemented traps, or blessed weapons.

I could spend the next seven hours trying to accomplish that, but it would be really irresponsible. I have to get back to my regular life now.

Of course, I do want to put those things in at some point.

Oh, and I didn't do a thing to support small screens. If you don't have at least 1150x800 resolution, it will be a real drag to play the game.

And, I'm already thinking about next years 7DRL: take the Seven Day Quest, use Ajax to hook it up to a j2ee servlet, and create a multiplayer online rogue... It's defnitely doable in a week's time...

Back Story

The town of Wentora has long been a prime tourist destination. Folks from all over Thorphilia would come to Wentora during tourist season to see the famed Amulets of the Seven Planets (or, as they later came to be known, the Amulets of the Six Real Planets and One Dwarf Planet).

But, tragically, during the bleak midwinter, a mysterious cataclysm caused the seven amulets to be dispersed throughout the Dangerous Realms -- seven magical areas that can only be reached through mysterious magical portals.

These magical portals have been reopened, but there is only one week to go until Tourist Season begins! The economic consequences for Wentora will be dire if the amulets cannot be recovered in time.

So the townspeople of Wentora have offered a substantial reward to any rogue who is willing to brave the Dangerous Realms, find the seven amulets, and return them before tourist season begins.

But (having been burned by rogues before), the townspeople want results. The Rogue who takes on the task must have one amulet back within 24 hours, or the townspeople will give the task to someone else.

As a matter of fact, the Rogue is told, if you can't come back with an amulet at the end of each day, don't bother coming back at all.

You are that Rogue, and this is your Seven Day Quest!

Give it a Try!

I uploaded the latest this morning before I left for work. I just tried it out (from work), and noticed that healing does not seem to be happening.

But you can definitely get a feeling for the game if you go there. Try out a level or two. See if you can find an amulet! If you give me feedback this afternoon, I might be able to incorporate it tonight.

I talked about pulling an all-nighter tonight, but that really isn't realistic. The game needs to be done by 7 am saturday, but I have a church board meeting at 9 am Saturday, so I really need to be able to sleep Friday night. I figure my effective deadline is midnight tonight. I may not get back to the computer before 8pm, but 4 hours should be plenty to finish what absolutely needs to be done.

Again, if you read this post, try the game here.

One more caveat: for certain realms, the very first time it draws a level, especially on IE, it will be very, very slow (like 20 seconds until the level fully shows up). This will be fixed by morning; it' s just a matter of preloading the .png's, but for now be patient. And remember that right now, balance doesn't actually work. The UI is there (although it doesn't go away once you bring it up, unless you refresh the screen), but it's not hooked up to anything.