예제 #1
0
        static void Main(string[] args)
        {
            GameFlow.Start(human, cpu);
            while (isPlaying)
            {
                for (int i = 0; i < 52; i++)
                {
                    GameFlow.Gameplay(human, cpu, round);
                    round++;
                }

                round = 1;
                GameFlow.Ending(human, cpu);
            }

            ReadKey();
        }
예제 #2
0
파일: GameFlow.cs 프로젝트: TWob15/warGame
 static public void Gameplay(Player hum, Player cpu, int round)
 {
     GameFlow.DrawCards(hum, cpu);
     Words.Template(hum, cpu, round);
     GameFlow.CheckWin(hum, cpu);
 }