public void MoveTo(ConsoleKey key) { objectHelper.ClearPlayground(); if (x >= 0 || y >= 0) { switch (key) { case ConsoleKey.UpArrow: if (y > 0) { y--; } break; case ConsoleKey.DownArrow: y++; break; case ConsoleKey.LeftArrow: if (x > 0) { x--; } break; case ConsoleKey.RightArrow: x++; break; default: break; } } else if (x < 0) { x = 0; } else if (y < 0) { y = 0; } Console.SetCursorPosition(x, y); Console.WriteLine(char1); y++; Console.SetCursorPosition(x, y); Console.WriteLine(char2); y++; Console.SetCursorPosition(x, y); Console.WriteLine(char3); y++; Console.SetCursorPosition(x, y); Console.WriteLine(char4); y++; Console.SetCursorPosition(x, y); Console.WriteLine(char5); y++; Console.SetCursorPosition(x, y); Console.WriteLine(char6); y = y - 5; }