예제 #1
0
 public void GameStart(int playerId, int[] positionToPlayerId)
 {
     myId           = playerId;
     cards          = new List <Card>();
     negativePoints = 0;
     try
     {
         controller.GameStart(playerId, positionToPlayerId);
     }
     catch (Exception e)
     {
         throw new PlayerException(
                   playerId, e,
                   "Player code cause exception" + e.GetType().ToString() + ": " + e.Message
                   );
     }
 }