public static void ShowEndScreen(string reason, bool win) { InGame = false; int xOff = 2, yOff = 2; Console.BackgroundColor = ConsoleColor.DarkGray; for (int x = 0; x < 16; x++) { for (int y = 0; y < 4; y++) { Console.SetCursorPosition(x + xOff, y + yOff); Console.Write(" "); } } Console.SetCursorPosition(1 + xOff, 1 + yOff); Console.Write(reason); Console.SetCursorPosition(1 + xOff, 2 + yOff); Console.Write(win ? "Winner" : "Loser"); Networking.Close(); Console.ReadKey(true); Console.BackgroundColor = ConsoleColor.Black; Console.Clear(); }