Connect 4

版本 1.0.0 (6.3 KB) 作者: Kelvin Hamilton
Connect 4 Versus Greedy Algorithm
83.0 次下载
更新时间 2021/7/29

查看许可证

This is my final project for Introduction to Artificial Intelligence at FAMU-FSU College of Engineering (Summer 2021 - Dr. Jerris Hooker). Click the columns where you would like to place your disc. Human is red and the AI is yellow. The AI uses the greedy algorithm, so it is not perfect. It will sometimes inadvertently give the human a winning move, so there is a small chance that the AI will give out a free win. The optimal way to code a Connect 4 AI is with the minimax algorithm, which you can see in action here.

引用格式

Kelvin Hamilton (2024). Connect 4 (https://www.mathworks.com/matlabcentral/fileexchange/96758-connect-4), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2021a
兼容任何版本
平台兼容性
Windows macOS Linux
标签 添加标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0