Example #1
0
 public static string GetHeader(Player player)
 {
     return(new string('-', player.Board.Board[0].Count * 4 + 3 + GetSeparator().Length / 2 - player.ToString().Length / 2) + player +
            new string('-', player.Board.Board[0].Count * 4 + 3 + GetSeparator().Length / 2 - player.ToString().Length / 2));
 }