Exemplo n.º 1
0
 private static void HandleGuess(PacketHeader packetheader, Connection connection, string[] guess)
 {
     //the server checks the guess from client and send correct positions to client (player 1)
     int[] cp = _game.CheckGuess(guess, _secretCombination, _numColumns);
     NetworkComms.SendObject("CheckGuess", _destinationIpAddress1, _destinationPort1, cp);
 }