From 278e760fb2652eff8961601125385000552e5a47 Mon Sep 17 00:00:00 2001 From: ninemine Date: Wed, 29 Oct 2025 09:29:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A3=8B=E7=9B=98=E5=AF=B9=E9=BD=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- games/gomoku_logic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/games/gomoku_logic.py b/games/gomoku_logic.py index 26fa27c..383d47c 100644 --- a/games/gomoku_logic.py +++ b/games/gomoku_logic.py @@ -253,7 +253,7 @@ def render_board(board: List[List[int]], last_move: Optional[Tuple[int, int]] = lines = [] # 列标题 - 使用全角空格确保对齐 - col_labels = " " + "".join([chr(ord('A') + i) + " " for i in range(15)]) + col_labels = "\t " + " ".join([chr(ord('A') + i) + "" for i in range(15)]) lines.append(col_labels.rstrip()) # 绘制棋盘