So... it was late last night and I was a little disconcerted from staining my floors upstairs on a windless evening... the windows were open, but there was little air movement to blow those noxious fumes outside. I found myself fiddling away online after my wife went to bed and decided I wanted to make a Duel module so users could challenge one another to combat. The thing is, I can't decide on how to build stats and provide battles.
I'm torn between using user statistics to let users build a character with more traditional RPG statistics or let their user statistics determine the outcome of combat... so, the more active a user is on a site, the more powerful they'd be in a duel. The caveat of course is you have to have some leveling factor to make it interesting for those who haven't been around as long or who are really just there to do some fighting.
The basic game workflow is as follows:
1) Users already exist on the site or join to play.
2) Users configure their hero settings, perhaps choosing some attributes and configuring message texts. My thought here was to let user statistics provide a greater level of customization... i.e. integrate with Userpoints so users could spend x amount of points to custom name their weapon.
3) Users train against dungeon monsters.
4) Users challenge other users to duels. The default setting is an auto-accept after some time period, so if you don't respond to a challenge your character duels without you. Otherwise, you get to accept/reject the challenge and choose a few fighting elements. (One thought was to have paper-rock-scissor style rounds w/ damage being dealt by the winner or a smaller amount of damage being dealt to each person in the event of a draw.)
5) Winner gets honor and a nice win record. Loser's record gets hit, but my thoughts are you only lose honor for rejecting a duel.
Anyways... I'm interested in thoughts for determining combat. I have half a mind to integrate this on Ubercart.org where our users have been accumulating points for a year now with nothing to spend them on. This would make for a fun diversion.

Comments
I've been working on
I've been working on something very similar to this, but based on the new D&D Miniatures rules (without movement). Users would get a "party" of monsters to duel against another party (AI or user controlled). At the moment, I have 1 vs 1 automated battles working, but I've yet to get FAPI involved so that the user can choose which what each of his party members would do (which, at the moment, is simply "attack", but each monster would have a set of attacks).
can't wait!
you could look at LoRD for inspiration (or alternatively to avoid repeating it) if you haven't already, as that already implements much of that.
Aaron Winborn
AaronWinborn.com (my blog)
Advomatic, Web Design for Progressive Advocacy, Grassroots Movements, and Really Cool Causes
Aaron Winborn
Drupal Multimedia (my book, available now!)
AaronWinborn.com
Advomatic
Sweet Ryan, Love the
Sweet Ryan, Love the concept.
it isn't that dissimilar to something my mate and I are looking into at the moment.
My idea was to create a mix of functionality for users.
Using the userpoints module for strength, the idea is to create a mashup of:
Iconbuffet
Yahoo Mashpet
facebook Superpoke.
The more points you have, the greater your skill.
We have custom avatars from guest designers (which can be modified)
Superpoke items can include whatever u want
You will earn avatar improvements as well as badges
You can "lock" a users avatar, but this has implications, ie, leaves you vulnerable for repurcussuins, if the user reacts within a time limit
Have a leaderboard for results
You can "power up a n00b", or give them a "whoop ass present" (this earns more points)
etc etc.
RYan, I think users would love to be able to use their uber points mate, why not get some of us to give a few prizes and stuff, and have an all out war every 3 months?
ie:
Ryan has wedgied 50 n00bs
72dpi has pwn3d 16 site regulars
Bob just got annhialated...
I am asking my mate ben to help dev this one, unless we can help on a project like this..
Anyhow, keep up the ideas... =)
Regards,
Ryan
http://www.archetoy.com