03.01.2013 Views

Chapter 1

Chapter 1

Chapter 1

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

State Meaning<br />

Listening You have chosen to play and are waiting to accept a conversation initiated<br />

by someone else. You have also specified your first-move preferences.<br />

The game is initialized to a neutral position.<br />

Starting You are bound in a session and have sent a start request to the other<br />

player specifying your first-move preferences. The game is initialized in a<br />

neutral position.<br />

Accepting You are bound in a session and are expecting to receive a start request<br />

from the other player. You have specified your first-move preferences and<br />

the game is in a neutral position.<br />

My-turn A game is in progress, and it's your turn to move.<br />

Opp-turn A game is in progress, and it's your opponent's turn to move.<br />

Finished The game has been won, lost, or abandoned (which amounts to substates<br />

of finished).<br />

Restarting You are going to restart the game, but you don't yet have your first-move<br />

preferences.<br />

State transitions<br />

The transitions in Figure A3.11 are described in more detail below:<br />

Figure A3.11<br />

From To Occurs When<br />

Blank Initiating Player specifies first-move preferences and the<br />

address of player to connect to. An RGCP initiate-

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!