This is a simple program of Gobang game. The game has four level of difficult to be choose, which are random, very easy, easy, and normal.
The main idea of this program is that record the position of chess pieces by a matrix. Then we use matrix operation to get an appropriate position for machine.
(Also as a project of a course in SJTU)
Bangguo Ye (2023). General Gobang Game (Combat Machine) (https://www.mathworks.com/matlabcentral/fileexchange/81918-general-gobang-game-combat-machine), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!