public static void Main()
Console.WriteLine("Ez egy kő-papir-olló!" );
Console.WriteLine(" Te mit választasz? Kő(k), papír(p) vagy olló(o)? ");
string x = Console.ReadLine();
Console.WriteLine("A választásod kő");
Console.WriteLine("A választásod papír");
Console.WriteLine("A választásod olló");
Random rnd = new Random();
Console.WriteLine("A gép által generált: kő");
Console.WriteLine("A gép által generált: papír");
if ((x=="k" && y==1) || (x=="p" && y==2) || (x=="o" && y==3) ){
Console.WriteLine("Az eredmény döntetlen!");
else if (x=="k" && y == 3) {
Console.WriteLine("Győztél!");
else if (x=="o" && y == 2) {
Console.WriteLine("Győztél!");
else if (x=="p" && y == 1) {
Console.WriteLine("Győztél!");
else Console.WriteLine( " A gép győzött, te vesztettél! :(" );