Skip to content
This repository has been archived by the owner on Mar 1, 2023. It is now read-only.
/ Gobang2 Public archive

A stupid gobang program. Slower than Gobang1, but maybe a little smarter.

Notifications You must be signed in to change notification settings

Slinet6056/Gobang2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

五子棋

wakatime

使用 C++ 和 EasyX 图形库编写
程序文件使用 GBK 编码
main函数就在main.cpp

主要使用了评估函数配合极小化极大算法以及 α-β 剪枝
可以考虑 8 手之后的棋局

这玩意真难写,网上教程大多都只说一个极小化极大算法和 α-β 剪枝
实际上写完这个不优化连 2 手棋都要考虑半天,根本没法用
我两天就写完了前面所有的代码,然后优化了四天
还是这鬼样子
爷不写了

About

A stupid gobang program. Slower than Gobang1, but maybe a little smarter.

Topics

Resources

Stars

Watchers

Forks