Although Tic Tac Toe is a relatively simple game, it can be analyzed through Linear Algebra. One part of analyzing a simple game is to check for a win, loss, or tie. Using Matlab and Linear Algebra, I have created a program to check both the 2D and 3D games for a win, loss, or tie, which I will explain.