Silverlight + WCF novice Chess example describes II (IX)

Following the presentation made since the last map, in addition to writing articles introduced while outside, further continuous improvement, and adds new features,

Now further on the map, with the progress of the case make a brief introduction:

A: landing interface has not changed:

Two: After entering the room lobby, has not changed:

Late into the room to a general view:

As can be seen from this general view, the new addition of the following:

1. Button events "sum, throw in the towel, return to the lobby, exit the system."

2. Chess game record and playback, playback can be defined through which can automatically play back pieces, the pieces may define the time interval for each step.

3. [There when I first section] online users

4. chat window.

 

Simple again few pictures:

Summation, when clicked, you will receive the sum confirmation window:

Click OK, end of the game, all the players in the room will receive the message:

If it is canceled, that they refuse to play, the two sides continue the game.

 

Return to the lobby and exit system is not to say, if you click in the game, they are given prompt, continue to be recognized is equivalent to throw in the towel, and then exit the room.

Chess Playback:

In addition to the above can be seen outside of chess, through playback, you can see pieces from the first step to the last step of evolution,

Even if you're playing chess, you can also use this function for playback without affecting game of chess.

The right is the chat feature, this too common, and not a screenshot.

We are briefly introduced here, or stay to the specific detailed chapters presented.

 

 

Reproduced in: https: //my.oschina.net/secyaher/blog/274333

Guess you like

Origin blog.csdn.net/weixin_33831196/article/details/91966854