public interface IMoveAlgorithm
Direction whereShouldIGo(List<Point> snake, Direction direction, Point food, int rows, int columns)
snake - lista de pontos ocupados pela cobra.direction - direção atual.food - ponto da comida.rows - número total de linhas.columns - número total de colunas.Copyright © 2013–2015 Tecgraf/PUC-Rio. All rights reserved.