文件名称:chess
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:443.49kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
这个游戏很简单,只需要自定义5个小函数来实现,可以加深对数组的理解。它包含有3个头文件。
check (void) 是用来判断是否获胜,
init_matrix(void) 是用来初始化每个单元,
get_player_move() 是用来实现自己下棋,
get_computer_move() 是用来实现电脑下棋,
而 disp_matrix() 是用来完成显示的功能
-This game is very simple, only needs a small five custom functions to achieve, you can deepen their understanding of the array. It contains 3 size paper. check (void) is used to determine whether the winner, init_matrix (void) is used to initialize each unit, get_player_move () is used to realize their game of chess, get_computer_move () is used to fulfill the computer playing chess, and disp_matrix () is used to show the function of the completion of
check (void) 是用来判断是否获胜,
init_matrix(void) 是用来初始化每个单元,
get_player_move() 是用来实现自己下棋,
get_computer_move() 是用来实现电脑下棋,
而 disp_matrix() 是用来完成显示的功能
-This game is very simple, only needs a small five custom functions to achieve, you can deepen their understanding of the array. It contains 3 size paper. check (void) is used to determine whether the winner, init_matrix (void) is used to initialize each unit, get_player_move () is used to realize their game of chess, get_computer_move () is used to fulfill the computer playing chess, and disp_matrix () is used to show the function of the completion of
(系统自动生成,下载前可以参看下载内容)
下载文件列表
chess.opt
chess.cpp
Debug/chess.exe
Debug/chess.ilk
Debug/chess.obj
Debug/chess.pch
Debug/chess.pdb
Debug/fight.exe
Debug/fight.ilk
Debug/fight.obj
Debug/fight.pch
Debug/fight.pdb
Debug/vc60.idb
Debug/vc60.pdb
Debug
chess.dsp
chess.ncb
chess.plg
chess.dsw
chess.cpp
Debug/chess.exe
Debug/chess.ilk
Debug/chess.obj
Debug/chess.pch
Debug/chess.pdb
Debug/fight.exe
Debug/fight.ilk
Debug/fight.obj
Debug/fight.pch
Debug/fight.pdb
Debug/vc60.idb
Debug/vc60.pdb
Debug
chess.dsp
chess.ncb
chess.plg
chess.dsw
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.