public void Play() { for (var direction = Move.None; gameField.Status == GameStatus.Play; direction = TestAlgorithm.GetMove(gameField.Kite.Body, gameField.Kite.Head, gameField.Food)) { Clear(); ShowGameField(); gameField.MakeMove(direction); ReadKey(); } }