public bool Play() { Map = new Map(0, 0, 80, 20, "mkushniryk").Build(); Snake = new Snake(Map.Area); Apple = new Apple(Map.Area, Snake); try { Apple.Display(); Snake.AppleAchieved += Refresh; Snake.Build().Start(Apple); while (Score <= WinScore && !Snake.IsError) { } return(!Snake.IsError); } catch (Exception) { Score = 0; return(false); } finally { Snake.Stop(); } }