A. Introduction

Ultimate Tic Tac Toe In MATLAB.

Ultimate Tic Tac Toe is an expansion on a classic game. Here are the rules:

Player 1 starts as o`s and starts in the board in the center square. Wherever player 1 places their mark, player 2 then has to play on the board corrisponding to the square the player 1 just placed their mark in. Once player 2 places their own mark, player 1 will then go to board corrisponding to the space that player 2 placed their own mark. This continues until somebody wins the game.

If a player wins on one board, the board of that section becomes theirs, and they get a corrisponding mark on the “master board”. If a player wins on the master board, the game is over and that player is deemed the winner.