public static string Output(GameBase.Color playercolor, GoPosition move, Go game, bool printBoard) { int[] result = game.Result(); StringBuilder text = new StringBuilder("\n"); text.Append("- Move "); text.Append(game.History.Count); text.Append(", after "); text.Append(playercolor.ToString()); text.Append(" played at "); text.Append(move.Y + 1); text.Append(", "); text.Append(9 - move.X); if (printBoard) { text.Append(game.Print()); } text.AppendLine(); text.Append("Score: "); text.Append(result[0]); text.Append(" to "); text.Append(result[1]); return(text.ToString()); }