文件名称:1261
介绍说明--下载内容均来自于网络,请自行研究使用
小卡和欢总喜欢玩一个小游戏,游戏界面是4*4格子的棋盘,每个格子可以放一个棋子。
最开始的时候棋盘上只有一个棋子,叫 T 。
接下来欢总和小卡轮流放棋子,小卡的棋子是 X ,欢总是 O 。
如果有一行或一列或一条对角线上全部是某个选手的棋子(4个)或者3个他的棋子和 T ,这个选手就赢了,游戏结束。 如果所有格子都满了,没有人赢,以平局结束。-Small card and joy always like to play a little game, the game interface is a 4* 4 chessboard grid, each grid can put a piece. In the beginning only a pawn on the chessboard, called the ' T' . Then the sum of joy turns to put the pieces small card, a small card piece is ' X' , Huan always ' O' . If there is a row or a column or a diagonal line is all of a player' s pieces (4), or three of his pieces and the ' T' , the players win, the game ends. If all of the lattice are full, no one wins, ended in a draw.
最开始的时候棋盘上只有一个棋子,叫 T 。
接下来欢总和小卡轮流放棋子,小卡的棋子是 X ,欢总是 O 。
如果有一行或一列或一条对角线上全部是某个选手的棋子(4个)或者3个他的棋子和 T ,这个选手就赢了,游戏结束。 如果所有格子都满了,没有人赢,以平局结束。-Small card and joy always like to play a little game, the game interface is a 4* 4 chessboard grid, each grid can put a piece. In the beginning only a pawn on the chessboard, called the ' T' . Then the sum of joy turns to put the pieces small card, a small card piece is ' X' , Huan always ' O' . If there is a row or a column or a diagonal line is all of a player' s pieces (4), or three of his pieces and the ' T' , the players win, the game ends. If all of the lattice are full, no one wins, ended in a draw.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
1261.cpp