文件名称:wzq
介绍说明--下载内容均来自于网络,请自行研究使用
用c++实现两人在电脑屏幕上下五子棋,其游戏规则如下:
1.每1步输入要下棋子的格子的x,y坐标,按Enter键
2.有1方首先5个棋子连成一线即判获胜
3.当旗子布满棋盘但仍无获胜方即为平局
4.一局结束后,若想继续按Y键,若退出则按其他键
5.若想中途退出游戏,请输入(0,0),再按照提示保存游戏
6.并且有悔棋键(不一定能实现)
7.可以选择X方先行或O方先行
设计要求:
1.屏幕上含有一些美丽的图案,比如笑脸、五角星等。
2. 棋到中局可以暂停后,自动保存,并且下次可以继续接着下。
3.棋盘的大小可以选择。
4.该游戏要有很强的自动纠错功能。
5.程序要能够自动判别胜负。
6.程序要能够自动判别所输入的行号列号是否正确。-Using c++ to achieve the two up and down on a computer screen Gobang, the rules of the game are as follows:
      1. Step 1 for each piece of input to the grid of x, y coordinates, in accordance with Enter key
      2. There is a square five piece first line or even sentenced to win
      3. When the flag covered with the board but not a single party is to win a draw
      4. After the end of a board, if the Y key to continue, if the exit at the other key
      5. If you want to quit the game, type (0,0), and then follow the prompts to save the game
      6.悔棋and the key (may not be able to achieve)
      7. Can choose to be X or O to be
Design requirements:
1. The screen contains a number of beautiful patterns, such as a smiley face, such as five-pointed star.
2. Move to the Board may be suspended automatically saved, and then under the next to contin
1.每1步输入要下棋子的格子的x,y坐标,按Enter键
2.有1方首先5个棋子连成一线即判获胜
3.当旗子布满棋盘但仍无获胜方即为平局
4.一局结束后,若想继续按Y键,若退出则按其他键
5.若想中途退出游戏,请输入(0,0),再按照提示保存游戏
6.并且有悔棋键(不一定能实现)
7.可以选择X方先行或O方先行
设计要求:
1.屏幕上含有一些美丽的图案,比如笑脸、五角星等。
2. 棋到中局可以暂停后,自动保存,并且下次可以继续接着下。
3.棋盘的大小可以选择。
4.该游戏要有很强的自动纠错功能。
5.程序要能够自动判别胜负。
6.程序要能够自动判别所输入的行号列号是否正确。-Using c++ to achieve the two up and down on a computer screen Gobang, the rules of the game are as follows:
      1. Step 1 for each piece of input to the grid of x, y coordinates, in accordance with Enter key
      2. There is a square five piece first line or even sentenced to win
      3. When the flag covered with the board but not a single party is to win a draw
      4. After the end of a board, if the Y key to continue, if the exit at the other key
      5. If you want to quit the game, type (0,0), and then follow the prompts to save the game
      6.悔棋and the key (may not be able to achieve)
      7. Can choose to be X or O to be
Design requirements:
1. The screen contains a number of beautiful patterns, such as a smiley face, such as five-pointed star.
2. Move to the Board may be suspended automatically saved, and then under the next to contin
(系统自动生成,下载前可以参看下载内容)
下载文件列表
wzq.doc