diff --git a/AL五子棋/x64/Debug/AI五子棋.exe b/AL五子棋/x64/Debug/AI五子棋.exe new file mode 100644 index 0000000..3c711d6 Binary files /dev/null and b/AL五子棋/x64/Debug/AI五子棋.exe differ diff --git a/AL五子棋/x64/Debug/AI五子棋.exe.recipe b/AL五子棋/x64/Debug/AI五子棋.exe.recipe new file mode 100644 index 0000000..d8f68da --- /dev/null +++ b/AL五子棋/x64/Debug/AI五子棋.exe.recipe @@ -0,0 +1,11 @@ + + + + + E:\GithubRepositories\Gobang\AL五子棋\x64\Debug\AI五子棋.exe + + + + + + \ No newline at end of file diff --git a/AL五子棋/x64/Debug/AI五子棋.ilk b/AL五子棋/x64/Debug/AI五子棋.ilk new file mode 100644 index 0000000..b699240 Binary files /dev/null and b/AL五子棋/x64/Debug/AI五子棋.ilk differ diff --git a/AL五子棋/x64/Debug/AI五子棋.pdb b/AL五子棋/x64/Debug/AI五子棋.pdb new file mode 100644 index 0000000..863c11b Binary files /dev/null and b/AL五子棋/x64/Debug/AI五子棋.pdb differ diff --git a/AL五子棋/x64/Debug/AI五子棋.tlog/AI五子棋.lastbuildstate b/AL五子棋/x64/Debug/AI五子棋.tlog/AI五子棋.lastbuildstate new file mode 100644 index 0000000..30c83ba --- /dev/null +++ b/AL五子棋/x64/Debug/AI五子棋.tlog/AI五子棋.lastbuildstate @@ -0,0 +1,2 @@ +PlatformToolSet=v142:VCToolArchitecture=Native32Bit:VCToolsVersion=14.29.30037:VCServicingVersionATL=14.29.30038:VCServicingVersionCrtHeaders=14.29.30038:VCServicingVersionCompilers=14.29.30038:TargetPlatformVersion=10.0.18362.0: +Debug|x64|E:\GithubRepositories\Gobang\AL五子棋\| diff --git a/AL五子棋/x64/Debug/AI五子棋.tlog/CL.command.1.tlog b/AL五子棋/x64/Debug/AI五子棋.tlog/CL.command.1.tlog new file mode 100644 index 0000000..e92e69e Binary files /dev/null and b/AL五子棋/x64/Debug/AI五子棋.tlog/CL.command.1.tlog differ diff --git a/AL五子棋/x64/Debug/AI五子棋.tlog/CL.read.1.tlog b/AL五子棋/x64/Debug/AI五子棋.tlog/CL.read.1.tlog new file mode 100644 index 0000000..4e35c33 Binary files /dev/null and b/AL五子棋/x64/Debug/AI五子棋.tlog/CL.read.1.tlog differ diff --git a/AL五子棋/x64/Debug/AI五子棋.tlog/CL.write.1.tlog b/AL五子棋/x64/Debug/AI五子棋.tlog/CL.write.1.tlog new file mode 100644 index 0000000..25bbb9b Binary files /dev/null and b/AL五子棋/x64/Debug/AI五子棋.tlog/CL.write.1.tlog differ diff --git a/AL五子棋/x64/Debug/AI五子棋.tlog/link.command.1.tlog b/AL五子棋/x64/Debug/AI五子棋.tlog/link.command.1.tlog new file mode 100644 index 0000000..067779b Binary files /dev/null and b/AL五子棋/x64/Debug/AI五子棋.tlog/link.command.1.tlog differ diff --git a/AL五子棋/x64/Debug/AI五子棋.tlog/link.read.1.tlog b/AL五子棋/x64/Debug/AI五子棋.tlog/link.read.1.tlog new file mode 100644 index 0000000..61cc9d7 Binary files /dev/null and b/AL五子棋/x64/Debug/AI五子棋.tlog/link.read.1.tlog differ diff --git a/AL五子棋/x64/Debug/AI五子棋.tlog/link.write.1.tlog b/AL五子棋/x64/Debug/AI五子棋.tlog/link.write.1.tlog new file mode 100644 index 0000000..42ab1ad Binary files /dev/null and b/AL五子棋/x64/Debug/AI五子棋.tlog/link.write.1.tlog differ diff --git a/AL五子棋/x64/Debug/AL五子棋.log b/AL五子棋/x64/Debug/AL五子棋.log new file mode 100644 index 0000000..fd78f8a --- /dev/null +++ b/AL五子棋/x64/Debug/AL五子棋.log @@ -0,0 +1,3 @@ + 源.cpp +E:\GithubRepositories\Gobang\AL五子棋\源.cpp(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 + AL五子棋.vcxproj -> E:\GithubRepositories\Gobang\AL五子棋\x64\Debug\AI五子棋.exe diff --git a/AL五子棋/x64/Debug/AL五子棋.vcxproj.FileListAbsolute.txt b/AL五子棋/x64/Debug/AL五子棋.vcxproj.FileListAbsolute.txt new file mode 100644 index 0000000..9a18ada --- /dev/null +++ b/AL五子棋/x64/Debug/AL五子棋.vcxproj.FileListAbsolute.txt @@ -0,0 +1 @@ +E:\GithubRepositories\Gobang\AL五子棋\x64\Debug\AI五子棋.exe diff --git a/AL五子棋/x64/Debug/Chess.obj b/AL五子棋/x64/Debug/Chess.obj new file mode 100644 index 0000000..68dd393 Binary files /dev/null and b/AL五子棋/x64/Debug/Chess.obj differ diff --git a/AL五子棋/x64/Debug/Show.obj b/AL五子棋/x64/Debug/Show.obj new file mode 100644 index 0000000..fb3af5b Binary files /dev/null and b/AL五子棋/x64/Debug/Show.obj differ diff --git a/AL五子棋/x64/Debug/Users.obj b/AL五子棋/x64/Debug/Users.obj new file mode 100644 index 0000000..78e2310 Binary files /dev/null and b/AL五子棋/x64/Debug/Users.obj differ diff --git a/AL五子棋/x64/Debug/vc142.idb b/AL五子棋/x64/Debug/vc142.idb new file mode 100644 index 0000000..fa55f01 Binary files /dev/null and b/AL五子棋/x64/Debug/vc142.idb differ diff --git a/AL五子棋/x64/Debug/vc142.pdb b/AL五子棋/x64/Debug/vc142.pdb new file mode 100644 index 0000000..8e7195d Binary files /dev/null and b/AL五子棋/x64/Debug/vc142.pdb differ diff --git a/AL五子棋/x64/Debug/源.obj b/AL五子棋/x64/Debug/源.obj new file mode 100644 index 0000000..0a23ab8 Binary files /dev/null and b/AL五子棋/x64/Debug/源.obj differ diff --git a/AL五子棋/源.cpp b/AL五子棋/源.cpp index 162fc78..76df0bf 100644 --- a/AL五子棋/源.cpp +++ b/AL五子棋/源.cpp @@ -10,10 +10,10 @@ using namespace std; constexpr int Width = 800; constexpr int High = 640; -vector> map(18, vector(18, -1)), cop(map); /*map是棋盘,-1空,0电脑,1友方*/ -stack> stk; /*用以控制悔棋*/ -double myPos = 0, aiPos = 0; /*我方和电脑棋局得分*/ -int aiset; /*记录电脑上一步下的位置*/ +vector> map(18, vector(18, -1)), cop(map); //map是棋盘,-1空,0电脑,1友方 +stack> stk; //用以控制悔棋 +double myPos = 0, aiPos = 0; //我方和电脑棋局得分 +int aiset; //记录电脑上一步下的位置 int main() { MyChess mychs; @@ -25,8 +25,8 @@ int main() { Start: map = cop; mychs.steps = 0; - initgraph(Width,High); - while (1) { + initgraph(Width, High); + while (1) { ai.Get_key_Setchess(mychs); //Al first set chess s.show(mychs, user); //show the map if (ai.gameOver(s, user)) goto Start; @@ -35,4 +35,4 @@ Start: s.show(mychs, user); if (mychs.gameOver(s, user)) goto Start; } -} +} \ No newline at end of file