Re: Stratagy

This is a discussion on Re: Stratagy within the PHP Language forums, part of the PHP Programming Forums category; I guess Ill clearify a bit: I just dont understand how to structure a table to hold those rules. André ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-14-2003
Alexander Ross
 
Posts: n/a
Default Re: Stratagy

I guess Ill clearify a bit: I just dont understand how to structure a table
to hold those rules.


André Nĉss wrote:
> Alexander Ross:
>
>> Sorry for the repost but I really need ideas here and I have a
>> clock...
>>
>> PHP/POSTGRESQL
>>
>> Here's the cliff's notes version of my situation:
>> I'm makeing a simple role playing game where users gain points by
>> answering trivia question. They can then use their points (like
>> skiball tickets) to
>> attepmt certain actions. Success ot failure is based on a roll of
>> the dice. If successfull, the users personal stats (i.e. knowledge
>> (kn), charisma (ch) ... basically think back to the hayday of
>> Dungens & Dragons) increase based on a rule for each action. For
>> example:
>>
>> Action: GO TO COLLEGE
>> Cost: 15 points
>> *Success Rule1: KN +3, CH +1, ...
>> *Failure Rule1: KN -2,CH -1...
>>
>> *Each action wil have 3 success rules and 3 failure rules randomely
>> chosen once success is determined.
>>
>> That all being said, I need advice on how to store all this info so
>> its easily retrievable later. Thought? Suggestions? Jokes?

>
> Well, you've already decided to use a DBMS, so I guess you want to
> store them in the DBMS. Now all you need to do is start designing...
> I think the question is a bit to general to be answered here (unless
> someone is inclined to do most of the design process for you).
>
> Try sketching up a rough design and ask questions here when you get
> stuck, or simply want feedback on your design. I think that's gonna
> be a lot more efficient.
>
> André Nĉss



Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:44 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0