文件名称:wuzq
介绍说明--下载内容均来自于网络,请自行研究使用
特别提示: 不要使用TC编译,因为TC最多只能编译2000行,而本程序有2500行,推荐使用工具Win-Tc。
程序写的比较仓促,bug很多在所难免,还望大家批评指正。
真诚的希望能和大家相互交流,共同提高。
去年暑假,本人闲来无聊写了一个C语言图形模式下的五子棋游戏,有如下功能:
1.使用鼠标控制
2.能够实现人机对战,并判断胜负
3.能够保存棋局和玩家所走的每一步,并且可以按步骤还原棋局
4.玩家能够悔棋、和棋、认输
5.保存每一个玩家的分数到一个文件中,可随时查看。
大概写了2500行,很多难点基本上都是靠自己琢磨的,比如判断胜负、人机对战、悔棋、还原棋局等等,由于本人五子棋水平低劣,所以写出的电脑的IQ也不高,大家可以尽情蹂躏。最后给大家一句忠告——别人的代码是可以看的,但课程设计还是要自己做的!
E-mail:zhongnanlifan@163.com
李凡
中南大学 计算机0304
程序写于2004.7.10
-Special Tip : Do not use TC compiler, as TC can only build up to 2,000 firms while the procedures are 2,500 firms use the tools Win - Tc. The procedure was relatively short, and many bug unavoidable, we also look criticized correct. A sincere hope that you will share together. Last summer, leisure, I wrote a boring C language graphics mode of 331 games, has the following functions : 1. use the mouse to control two. to achieve human-machine players, judge and 3 victory. to preserve and chess players are taking every step steps can be reduced by four chess game. players can he never cheat in spain, a draw in chess. Lose 5. every player kept the score to a document, they can always check. Writing about the 2500 trip, many difficulties are basically on their own pondering, for instance, to jud
程序写的比较仓促,bug很多在所难免,还望大家批评指正。
真诚的希望能和大家相互交流,共同提高。
去年暑假,本人闲来无聊写了一个C语言图形模式下的五子棋游戏,有如下功能:
1.使用鼠标控制
2.能够实现人机对战,并判断胜负
3.能够保存棋局和玩家所走的每一步,并且可以按步骤还原棋局
4.玩家能够悔棋、和棋、认输
5.保存每一个玩家的分数到一个文件中,可随时查看。
大概写了2500行,很多难点基本上都是靠自己琢磨的,比如判断胜负、人机对战、悔棋、还原棋局等等,由于本人五子棋水平低劣,所以写出的电脑的IQ也不高,大家可以尽情蹂躏。最后给大家一句忠告——别人的代码是可以看的,但课程设计还是要自己做的!
E-mail:zhongnanlifan@163.com
李凡
中南大学 计算机0304
程序写于2004.7.10
-Special Tip : Do not use TC compiler, as TC can only build up to 2,000 firms while the procedures are 2,500 firms use the tools Win - Tc. The procedure was relatively short, and many bug unavoidable, we also look criticized correct. A sincere hope that you will share together. Last summer, leisure, I wrote a boring C language graphics mode of 331 games, has the following functions : 1. use the mouse to control two. to achieve human-machine players, judge and 3 victory. to preserve and chess players are taking every step steps can be reduced by four chess game. players can he never cheat in spain, a draw in chess. Lose 5. every player kept the score to a document, they can always check. Writing about the 2500 trip, many difficulties are basically on their own pondering, for instance, to jud
(系统自动生成,下载前可以参看下载内容)
下载文件列表
压缩包 : 27796723wuzq.rar 列表 wuzq\EGAVGA.BGI wuzq\wuzq.c wuzq\说明.txt wuzq\wuzq.EXE wuzq