static void Main(string[] args) { Snake snake = new Snake(); while (true) { snake.WriteBoard(); snake.Input(); snake.Logic(); } }