完成: 补全大学时未竟的五子棋外单#1
Open
Lewis-Peter wants to merge 1 commit into
Open
Conversation
- CheckWin: 改为 public static 工具类,四方向检测胜负 - MinimaxAI: 实现完整 Minimax + Alpha-Beta 剪枝(深度4), 带候选点筛选与局面评估函数 - GameEngine: 统一15×15棋盘,正确管理落子/胜负/回合切换 - GomokuGameGUI: 全面重写,木色交叉点棋盘,支持 AI对战 与 人机对战两种模式,SwingWorker 异步运行 AI 防止界面卡顿 - gameStart / resetGame: 补全实现 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
背景
这是一个大学时接的第一个外单,当时留下了大量
// 需要你实现的空壳代码,未能完成。此 PR 将所有核心逻辑全部补全。改动内容
public static工具类,四方向(横/竖/斜/反斜)检测五连胜负,支持任意棋盘尺寸placeMove/makeAiMove/computeMinimaxMove/resetSwingWorker异步跑 AI 防止界面卡顿;底部状态栏实时提示测试计划
javac验证通过)🤖 Generated with Claude Code