There now seems to be several of you working on variations for this, and that's great! So, not to sidetrack everyone but I have a few more ideas....
Suppose I wanted to install this hack more than once, what would I need to change in the original xml file? In other words I want one hack called "dice" and another hack called "cards" that does the same thing but uses separate database tables and images. So for example, I can have one game that throws dice and another game that draws playing cards. Or another game that rolls letters of the alphabet.
In other words, suppose I want 3 separate games. Dice, Cards, Alpha, if you want to name them. What parts of the original script could I change so that I can install this game a second and third time (in a different place, not overwriting the first game)?
Then, to play, users would type (or I'd create buttons for):
[dice=5]6[/dice]
to roll a 6 sided dice five times
[cards=5]52[/card]
to draw 5 cards from a 52-card deck
[alpha=9]26[/alpha]
to roll 9 letters out of the 26 letter alphabet
I'm dreaming big here folks! :P
Another idea....suppose for the card game users are drawing 5 cards and I don't want them to draw the same card twice (this could also apply to dice). Is there a way to limit it so the same card/dice isn't drawn/rolled more than once in a roll of multiple die or cards?
Yeah, this is all pretty much off-base for the current project, but I thought I'd just throw these ideas out there.
|