Esempio n. 1
0
 private async void SendLocalGameStep(byte fromLine, byte fromColumn,
                                      byte toLine, byte toColumn)
 {
     try
     {
         await lanGameSession.SendStepAsync(fromLine, fromColumn,
                                            toLine, toColumn);
     } catch (Exception ex)
     {
         Console.WriteLine(ex.Message);
         AnotherPlayerDisconnected();
     }
 }