static void Main(string[] args) { // string Path = Console.ReadLine(); Console.Write("Minimum length: "); int minL = int.Parse(Console.ReadLine()); Console.Write("Maximum length: "); int maxL = int.Parse(Console.ReadLine()); Game G = new Game("input.txt", minL, maxL); string Cur = G.GetCur; while (!G.isEnd()) { Console.WriteLine("Current word: " + Cur); Console.WriteLine("1. HP: " + G.GetHPPlayerOne() + " Score: " + G.GetScorePlayerOne()); Console.WriteLine("2. HP: " + G.GetHPPlayerTwo() + " Score: " + G.GetScorePlayerTwo()); Console.Write((G.GetCurPlayerNum + 1) + ". Enter: "); string Str = Console.ReadLine(); G.CheckWord(Str); } Console.WriteLine(G.WhoWon); }