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 (2026). Connect 4 (https://kr.mathworks.com/matlabcentral/fileexchange/96758-connect-4), MATLAB Central File Exchange. 검색 날짜: .
MATLAB 릴리스 호환 정보
개발 환경:
R2021a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux태그
| 버전 | 게시됨 | 릴리스 정보 | |
|---|---|---|---|
| 1.0.0 |
