public static void Main()
Console.WriteLine("Enter 1 if you want to play.\nEnter 0 if you don't want to play");
c = int.Parse(Console.ReadLine());
Game(ref general_points);
Console.WriteLine("\n" + "Your points for the whole game - " + general_points + "\n");
public static void Game(ref int general_points)
Random rnd = new Random();
for(int round = 1; round < 5; round++)
Console.WriteLine("\n" + "round " + round + "\n");
for(int attempts = 30; attempts >0; attempts-=10)
temp_n = int.Parse(Console.ReadLine());
general_points = general_points + points;
{Console.WriteLine("в этом раунде лажа");}
Console.WriteLine(general_points);