Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

team09 report3.md #79

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion submission/status/status.json
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
{"stage0": "17 / 17", "stage1": "17 / 17", "stage2": "11 / 17", "stage3": "0 / 17"}
<<<<<<< HEAD
{"stage0": "17 / 17", "stage1": "15 / 17", "stage2": "6 / 17", "stage3": "0 / 17"}
=======
{"stage0": "17 / 17", "stage1": "17 / 17", "stage2": "11 / 17", "stage3": "0 / 17"}
>>>>>>> 36ecb4108144e84190b3829ed8d43a3befac8c01
9 changes: 9 additions & 0 deletions submission/status/status.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,17 @@ Stage 0: 17 / 17
Stage 1: 17 / 17
All teams are finished.

<<<<<<< HEAD
Stage 2: 6 / 17
team03
team04
team05
team06
team07
=======
Stage 2: 11 / 17
team03
>>>>>>> 36ecb4108144e84190b3829ed8d43a3befac8c01
team11
team12
team13
Expand Down
87 changes: 87 additions & 0 deletions submission/team09/report3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
# Team9 第三阶段报告

### 概括

该报告具体总结了我组第三阶段完成的工作和部分第四阶段的工作


### 具体实现

1. 我们完成了第三阶段的必做任务:完善游戏逻辑,完成联机网络逻辑,接入 AI,日志记录

2. 我们也完成了第三阶段的部分附加任务:
- 实现高亮对手或自己最近一步下在哪
- 实现 8,10 路棋盘
- 实现了AI 托管开关,即中途随时改变
- 实现联机再来一局

3. 通过不停地debug,我们的exe可执行文件通过了组内对战的测试

我们还完成了以下第四阶段的**附加任务**:

1. 我们完成了**附加任务2: 在重现对局中实现 播放,暂停,上一步,下一步,到第_步 等功能**

2. 我们完成了**附加任务4: 联机再来一局**

3. 我们部分完成了**附加任务6: 服务器端 GUI**.

### 分工

总体上,我们小组非常团结,共同完成了这一阶段.

项晓清:

- 完成了联机逻辑部分,实现了服务端与客户端的通信

- 实现了AI 托管开关和人联机下棋

- 实现了用命令行开启游戏和其中逻辑

- 实现了附加任务6: 服务器端 GUI 和附加任务4: 联机再来一局

- 实现了移动提示和高亮对手或自己最近一步下在哪

- 和刘雪琦实现了游戏开启前的菜单

- 游戏测试

刘雪琦 :

- 为游戏添加了日志系统

- 实现 8,10 路棋盘

- 完成了附加任务2

- 实现了计时功能

- 游戏测试

李玉玺 :

- 实现 AI 接入

- AI优化

- 正在开发:AI多线程

- 游戏测试

- 报告撰写

同时,我们共同解决了完成这一阶段时出现的bug

### 基本框架

采用 server 与 client 分离的设计. 两者之间通过 TCP Socket 实现信息交换.
同时,在助教潘俊达的指导下,我们精简了我们的代码

### 完成这一阶段遇到的问题

- 校园网有时连接不顺,只能运用热点连接

- AI计算过快,在收到不合法的move_op和end_op之间又发送了move_op,导致行棋记录多了一步(潘俊达助教指导我们修改了这个bug)

- 由于某些bug,最开始接入的AI在exe文件中会出现问题(可能是环境方面的bug),后成功实现了exe文件

- 不同小组的网络协议有细微的差异,在联机时会出现问题