在VC下运行的俄罗斯方块程序

时间:2013-07-03 12:55:14
【文件属性】:
文件名称:在VC下运行的俄罗斯方块程序
文件大小:33KB
文件格式:TXT
更新时间:2013-07-03 12:55:14
俄罗斯方块 对初这者来说很有用!文件名:main.cpp #include #include #include using namespace std; #include "gobangPlayer.h" /************************************************ ** Function Declaration Beginning */ void displayInformation(void); /******************************************* ** 函数名: displayInformation ** 功能: 打印信息 ** 参数: void ** 返回值: void *********************************************/ bool isPlayAgain(void); /******************************************* ** 函数名: isPlayAgain ** 功能: 询问是否继续游戏 ** 参数: void ** 返回值: bool 如果继续游戏, 返回true, 否则返回flase *********************************************/ char getChoice(void); /******************************************* ** 函数名: getChoice ** 功能: 决定先手还是后手 ** 参数: void ** 返回值: char 先下, 返回'1'; 后下, 返回'2'

网友评论