//Определение победителя private void WhoWinner(int userChoice) { int compChoice = CompChoice(); int difCompUser = compChoice - userChoice; if ((difCompUser == -2) || (difCompUser == 1)) { MessageBox.Show("Ты победил!"); } else if ((difCompUser == -1) || (difCompUser == 2)) { MessageBox.Show("Победил компьютер!"); } else { MessageBox.Show("Ничья!"); } }