Played on a 6x6 board. Place a game piece on any unoccupied square, then twist one of the four 3x3 quadrants a quarter turn clockwise or counter-clockwise. First player to get five in a row wins. White is played by the human, black by the computer.
Pretty good. The AI might do with some help, since I won the first game I played and I'd never seen the game before. It might have been nice to have different degrees of difficulty, which probably would merely set a search depth for the AI, or perhaps the board size.
I like that I found help in the function, and an H1 line. Not really much help is needed, since it is a simple game to explain. The code was friendly and asked me if I wanted to play again at the end. Well done overall.
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.