-
renjixiaqi
人机下棋:在3×3棋盘上,计算机为一方,用户为一方,交替画“X”和“O”,在行、列、对角线上谁先练成一条直线谁就获得胜利。用类的思想完成,具体功能要求如下:
(1)状态显示:计算机可正确显示棋盘,给出提示信息和胜负判断。
(2)用户选择:用户可以选择是先下还是后下,并选择棋子是“X”还是“O”。
(3)每一步都用图形化方式顺序输出
(Man-machine chess: on the 3 X 3 board, the computer for one party, the user for a party, draw an X and O alternately, in the row, column and diagonal who practice who would win in a straight line. Finish, with the ideas of the class specific functional requirements are as follows:
(1) status display: the computer can correctly display board, giving prompt information and the outcome of judgment.
(2) the user choice: the user can next is first or after, and the pieces is a X or O .)
- 2020-07-04 13:00:02下载
- 积分:1
-
wzq
用c语言写的五子棋游戏,用 了人工智能的,算法很好的。(us c)
- 2010-05-18 23:09:07下载
- 积分:1
-
go_chess
这是C++编写的围棋打谱程序,读取SGF棋谱文件格式,欢迎围棋爱好人士使用。(This is the C++ Prepared to fight Go spectrum procedures, read chess SGF file formats are welcome to Go-loving users.)
- 2008-01-20 21:56:11下载
- 积分:1
-
chess-gamePnet
socket实现象棋游戏联网,程序中iP和port已指定,运行时根据自己的ip改下就行(chinese chess)
- 2012-03-04 22:15:28下载
- 积分:1
-
russiablock
多人联网对战的俄罗斯方块程序。可以再局域网中进行(Multiplayer Battle Tetris networking programs.)
- 2009-10-31 16:16:24下载
- 积分:1
-
c5
Function: // riffle
Description: // 洗牌,然后随机的得到9张牌,要求九张牌不能有重复.
Calls: //
Called By: // main()
Table Accessed: //被修改的表(此项仅对于牵扯到数据库操作的程序)
Table Updated: // 被修改的表(此项仅对于牵扯到数据库操作的程序)
Input: //Card card[] 牌结构, int size 结构数组的大小
Output: //(Function:// riffle Description:// shuffle, and then randomly get nine cards, requiring nine cards can not be duplicated. Calls:// Called By:// main () Table Accessed:// modified table ( This only involves the operation of the database for the program) Table Updated:// modified table (this only involves the operation of the database for the program) Input:// Card card [] licensing structure, int size structure of the array size Output ://)
- 2013-07-23 06:35:33下载
- 积分:1
-
wuziqi
这是一段人与电脑下五子棋的程序,人H代表人,C代表电脑(This is a man with a computer under 331 procedures, human H representative, C for computer)
- 2013-10-16 23:00:24下载
- 积分:1
-
flychess
用MFC编写的飞行棋游戏,包括游戏界面、核心算法、走棋动画的实现。(Prepared using MFC flight chess games, including the game interface, the core algorithm, take the chess animation implementation.)
- 2021-04-24 14:18:47下载
- 积分:1
-
draw
一款五子棋游戏,可以实现人机交互,有打开、保存、反悔、输赢等功能(A 331 game, the human-computer interaction, there are open, save, go back, win or lose)
- 2012-06-27 23:59:55下载
- 积分:1
-
N-Queen
: N皇后问题,在一个N×N国际象棋盘
上,有N个皇后,每个皇后占一格;要求皇后间不会出现
相互“攻击”的现象,即不能有两个皇后处在同一行、同一
列或同一对角线上。问共有多少种不同的方法。下图以4
个皇后为例,说明一个正确的解( N是一个大于等于2并
且小于等于100的整数)(: N queens problem, a NN chess disk, N-Queen, Queen of the grid requirements between each other " attack" phenomenon does not appear in the Queen' s, that can not have two queens in the same row , the same column or on the diagonal. Asked a total of a number of different ways. The following diagram 4 Queen, for example, indicating that a correct solution (N is a number greater than or equal to 2 and less than or equal to an integer of 100))
- 2012-08-31 17:31:00下载
- 积分:1