GameDesign: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
No edit summary |
No edit summary |
||
| Line 17: | Line 17: | ||
So let's define the reply to each message. First, let's clarify that the best way of modelling this system is using finite automates, (a finite state machine) where, based on the input, we change the state we are currently in and produce an output. |
So let's define the reply to each message. First, let's clarify that the best way of modelling this system is using finite automates, (a finite state machine) where, based on the input, we change the state we are currently in and produce an output. |
||
== Login stage == |
|||
<pre> |
<pre> |
||
Process C2S Login ( STATE_BEGIN_LOGIN ) |
Process C2S Login ( STATE_BEGIN_LOGIN ) |
||
| Line 54: | Line 54: | ||
</pre> |
</pre> |
||
== Choose character stage == |
|||
<pre> |
<pre> |
||
Process C2S ChooseCharacter ( STATE_LOGIN_COMPLETE ) |
Process C2S ChooseCharacter ( STATE_LOGIN_COMPLETE ) |
||
| Line 76: | Line 78: | ||
</pre> |
</pre> |
||
== Logout stage == |
|||
<pre> |
<pre> |
||
| Line 98: | Line 102: | ||
</pre> |
</pre> |
||
== Perception confirmation stage == |
|||
<pre> |
<pre> |
||
| Line 109: | Line 115: | ||
</pre> |
</pre> |
||
== Transfer confirmation stage == |
|||
<pre> |
<pre> |
||