I Taught a Machine How to Play Connect 4

How I built a MATLAB program that can beat you in Connect 4

Jake Mitchell
Towards Data Science
5 min readAug 23, 2021

--

Introduction:

Board games offer a fascinating amount of raw data that is very useful to someone interested in programming. With 6 rows and 7 columns, Connect 4 has a significant amount of different game scenarios and decision making packed into just one match…

--

--

A full-time mechanical engineer writing code about the things that interest me.