Closed Shy2593666979 closed 5 months ago
文件路径
examples/game_gomoku/code/board_agent.py
使用matplotlib描述棋子颜色时搞混
if board[y, x] == NAME_TO_PIECE[NAME_WHITE]: ⭐ 这里应该是NAME_BLACK circle = patches.Circle( (x, y), 0.45, edgecolor="black", facecolor="black", zorder=10, ) ax.add_patch(circle) elif board[y, x] == NAME_TO_PIECE[NAME_BLACK]: ⭐ 这里应该是NAME_WHITE circle = patches.Circle( (x, y), 0.45, edgecolor="black", facecolor="white", zorder=10, ) ax.add_patch(circle)
Thanks for your reporting! We will check and fix it as soon as possible.
文件路径
使用matplotlib描述棋子颜色时搞混