CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - tip
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - tip - List
[
Chess Poker games
]
wuzq
DL : 0
特别提示: 不要使用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
Date
: 2025-12-23
Size
: 56kb
User
:
李凡
[
Chess Poker games
]
javakechengsheji-zhongguoxiangqi
DL : 0
本文主要是运用java实现具有一定功能的中国象棋对弈系统软件,主要功能如下: a、象棋对弈:红方先走,然后黑方再走,红黑交替,直到一方获胜。 b、新游戏:任何时候可以重新开始一盘新的对弈。 c、悔棋:当走错棋的时候可以悔棋。 d、信息提示:提示当前信息状态。 e、简单的帮助文档:象棋规则介绍、软件的简单介绍和编制说明 -In this paper, is to use java to achieve the Chinese chess, chess has a certain function system software, the main function is as follows: a chess chess: the red side go first, and then the black side walk, red and black alternately, until the party wins. b, a new game: any time can start a new chess. , undo: when the wrong moves can undo. d message: Tip of the current information status. e, simple help document: chess rules introduced, a brief introduction of the software and the preparation instructions
Date
: 2025-12-23
Size
: 427kb
User
:
alex
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.