Saturday, February 17, 2007

Short Sample Sequence Diagram


This diagram shows interaction between Chuck Norris and two npc's.

First Chuck takes the quest from Frylock the quest giver.

Next he interacts with The Hoff(the demon).

After he collects The Hoff's head he returns to Frylock.

Finally Chuck can collect his reward.


Thursday, February 15, 2007

This the class diagram for the hack and slash RPG


This class diagram depicts two generic classes. An NPC class and a PC class. From the NPC class branches to two different classes a quest giver and a demon class. Then from the demon class spawns two more objects the Scarekrow which is a caster demon and Beastor which is a melee demon. On the PC side the player class represents a player controlled character. From the player class two more classes branch out which is the mage class and barbarian class. All these classes inheirt the base attributes from the humanoid class. Other classes will exist like a generic beast class which will represent the different kinds of beastaries in the game.

Extended Use Case and Sequence




These two charts describe sequence of events within the hack and slash RPG's. The first chart shows interaction between the NPC quest giver and then the demon. The second chart shows the user interaction with the game interface.




Saturday, February 10, 2007

Activity Chart: Hack and Slash RPG


This activity chart depicts the interaction of a PC and NPC.


The chart starts at the interaction between where the two objects takes place.

The player makes a decision on whether to accept the quest or not.

If he chooses to deny the quest he can exit game state.

If he chooses to accept then the quest log is updated.

Then he begins the quest.

Once he confronts the objective of the game he can either run or fight.

If he runs he can go back to the npc or quit the game.

If he defeats the quest objective the quest log is updated and he turns in the quest.

After he accepts the quest reward he can quit the game

Thursday, February 8, 2007

Statechart : Hack and slash RPG




This is a statechart that shows the interaction between a quest giver and the player character.




1. The player first enters the game.


2. He talks to the quest giver.


3. Now he has a choice to either accept the quest or decline.


4. If he declines he can exit the game.


5. If he accepts the quest he can begin the quest.


6. After the quest is finished they can turn in the quest.


7. They can now exit the program.

Saturday, February 3, 2007