# ## 程式設計 作業3

Please write a C# program using Win-form layout to let two players play a mutual-guess game. To play the game, the two plays initially input two four-digit mythical figures to the program for later comparison, not revealed to the counterpart until the end of the game. Each digit of figure ranges from 0 to 9 and can re-occur in each position of the four-digit figure. The two players take turns to guess the mythical figure of the counterpart. The program acts as a coordinator role that it can compute the difference between the guessed figure and mythical figure and can further judge who is the winner of the game when that difference being zero in a guesser’s turn.

The difference of above two four-digit figures are defined as another four-digit figure, in which each digit of the figure is the distance (i.e., absolute value) of the two corresponding digits of the mythical and guessed figures. For example, assume that the mythical figure of a player is 2577 and that some guessed figure by the counterpart is 9549. The difference of the two figures, 2577 and 9549, is 7032; in detail, 7 = |2-9|, 0 = |5-5|, 3 = |7-4|, and 2 = |7-9|.