static void Main(string[] args) { IFootBalStrategy s = new GameStrategy(); while (true) { var x = Console.ReadLine(); var response = s.Play(x); if (!string.IsNullOrEmpty(response)) { Console.WriteLine(response); } } }