A downloadable game for Windows

编程小练习——经典OOXX棋(误)井字棋的升级版

规则:

1.棋盘由9块3*3的小棋盘组成,执O和执X的双方轮流落子

2.当某方在任何一个小棋盘内形成三子共线(横or竖or斜),则赢下这个小棋盘,标记为自己的符号

3.当某方赢下的三个小棋盘共线(横or竖or斜),则赢得整局的胜利

4.(关键)任何一方落子的位置将决定对方能够落子的小棋盘:例如,O在某个3*3小棋盘的右上角落子,则X下一步只能在右上方的3*3小棋盘内落子。如果被决定的小棋盘已经决出胜负(或平局),那么下一步将不受限制,可在任意位置落子

5.先手方第一步不能在中央小棋盘落子


一方获胜后,鼠标右键重新开始

升级版井字棋的AI较为复杂,暂不支持人机对战,仅可本地双人对战

------------------------------------------------------------------------------------

Rules (From Wiki):

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 empty spots except the central local board. 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.


Right click to restart.


StatusReleased
PlatformsWindows
Rating
Rated 3.0 out of 5 stars
(1 total ratings)
Authorthu_denny
GenreStrategy
TagsBoard Game

Download

Download
UltimateTicTacToe_v1.0.exe 2.1 MB

Comments

Log in with itch.io to leave a comment.

哥们,井字棋先手不可能输的

井字棋是有最优策略,但9*9升级版的还不确定(而且还加了一定的先手制约