Example #1
0
 public GameProcess(ComputerStuff computer, UserStuff user)
 {
     Computer       = computer;
     User           = user;
     UserPoints     = 0;
     ComputerPoints = 0;
 }
        static void Main(string[] args)
        {
            Console.WriteLine("This is a popular game in console view called \"Rock, Paper & Scissors\". " +
                              "Created by Rodion Kl");
            UserStuff user = new UserStuff();
            //Console.WriteLine(user.GetUserChoice());
            ComputerStuff computer = new ComputerStuff();
            //Console.WriteLine(computer.ComputerChoice());
            //Console.WriteLine(computer.ComputerChoice());

            GameProcess game = new GameProcess(computer, user);


            game.LetsPlayGame();



            Console.WriteLine("\n\n\nPress any key to leave the console window...");
            Console.ReadLine();
        }