所属分类:
VC书籍
开发工具:Visual C++
文件大小:96KB
下载次数:527
上传日期:2006-01-17 18:06:03
说明: 双人对弈的五子棋程序(对话框、时钟、画图技术、五子棋规则)
画一个棋盘,可以选择清空棋盘、开始下棋。棋子为黑白两种颜色,使用鼠标点击进行下棋操作,要有合理的下棋规则(比如说不能下到棋盘外面、已经有棋子的地方就不能再下棋了,如果发现有五子连在一起,则系统要判断哪一方已经获胜,并且要锁定棋盘不能再走子了;有悔棋的功能。)
(double play against 331 (dialog, clocks, technical drawing, 331 rules) painting a chessboard. clear the board can choose to start playing chess. Two pieces of black-and-white color, the use of mouse clicks for playing chess operation, There should be reasonable chess rules (for instance, not under the chessboard to the outside, have a piece of places can no longer play chess. If found to have five sons together, the system must judge which side has won, lock chessboard and to no longer follow a son; there he never cheat in spain function.))