Ultimate Tic Tac Toe

版本 1.0.0.0 (79.2 KB) 作者: Naimul Hassan
A different version of Tic Tac Toe (XO), Implemented using MATLAB GUI, Two player game.
96.0 次下载
更新时间 2018/3/26

查看许可证

Ultimate Tic Tac Toe also known as Super Tic Tac Toe or Meta Tic Tac Toe, is a board game composed of nine Tic Tac Toe boards arranged in a 3-by-3 grid. Players take turns playing in the smaller Tic Tac Toe boards until one of them wins in the larger Tic Tac Toe board. Strategy in this game is much more conceptually difficult.
Rules:

Each small 3-by-3 Tic Tac Toe board is referred to as a local board, and the larger 3-by-3 board is referred to as the global board.

The game starts with X playing wherever they want in any of the 81 empty spots. This move 'sends' their opponent to its relative location. For example, if X played in the top right square of their local board, then O needs to play next in the local board at the top right of the global board. O can then play in any one of the nine available spots in that local board, each move sending X to a different local board.

If a move is played so that it is to win a local board by the rules of normal Tic Tac Toe, then it wins that local board.

Once the outcome of a local board is decided (win or draw), no more moves may be played in that board. If a player is sent to such a board, then that player may play in any other board.

Game play ends when either a player wins the global board, or there are no legal moves remaining.

For better understanding, you can watch this-
https://youtu.be/9jYcaeSo2f0

引用格式

Naimul Hassan (2024). Ultimate Tic Tac Toe (https://www.mathworks.com/matlabcentral/fileexchange/66635-ultimate-tic-tac-toe), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2016a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Strategy & Logic 的更多信息
致谢

参考作品: Tic Tac Toe (XO) Game

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Ultimate_Tic_Tac_Toe/

版本 已发布 发行说明
1.0.0.0