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.

No comments: