文件名称:XiangQi
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:8.37kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
中国象棋打谱软件提供给用户的一个能将对弈过程保存成文件 并可以重新演示对弈过程 即复盘。 主要功能有: 1. 制作棋谱, 2. 保存棋谱, 3. 演示棋谱.
Chess类,190行代码。这个类主要功能是对整个窗体功能的实现,包括菜单、菜单的事件、把JPanel加到窗体的内容面板上,以及窗体属性的设置。
ChessBoard类,457行代码。这个类是主要的类,包含paint()方法用来画整个面板,以及鼠标的事件监听。
ChessPiece类,68行代码。这个类是棋子的类,包含棋子的各个属性
ChessPoint类,132行代码。这个类主要用来定位棋子的,也就是根据鼠标的坐标,通过这个类来计算鼠标现在在第几行,第几列。这样就可以定位棋子了。
Demo类,32行代码。这个类是用来演示棋谱的类。
MakeChessManual类,52行代码。这个类主要是用来记录走棋记录的。
Rule类,370行代码。这个类是用来判断规则的。-Chinese chess DaPu software give the user a will save to file and the process of the game to demo game process that is checking. Main functions are: 1. Make moves, 2. Save moves, 3. Demo moves.
Chess classes, 190 lines of code. This class is the main function of the realization of the function of the whole form, including menu, menu of the incident, the JPanel added to form content panel, and form attribute Settings.
ChessBoard classes, 457 lines of code. This class is the main class, including paint () method is used to draw the entire panel, and the mouse event listeners.
ChessPiece classes, 68 lines of code. This class is the class pieces, including pieces of each attribute
ChessPoint classes, 132 lines of code. This class is mainly used for positioning pieces, namely according to the coordinates of the cursor, through this class to calculate the mouse is now in which line, which column. So you can position the pieces.
Demo classes, 32 lines of code. This class is used to demon
Chess类,190行代码。这个类主要功能是对整个窗体功能的实现,包括菜单、菜单的事件、把JPanel加到窗体的内容面板上,以及窗体属性的设置。
ChessBoard类,457行代码。这个类是主要的类,包含paint()方法用来画整个面板,以及鼠标的事件监听。
ChessPiece类,68行代码。这个类是棋子的类,包含棋子的各个属性
ChessPoint类,132行代码。这个类主要用来定位棋子的,也就是根据鼠标的坐标,通过这个类来计算鼠标现在在第几行,第几列。这样就可以定位棋子了。
Demo类,32行代码。这个类是用来演示棋谱的类。
MakeChessManual类,52行代码。这个类主要是用来记录走棋记录的。
Rule类,370行代码。这个类是用来判断规则的。-Chinese chess DaPu software give the user a will save to file and the process of the game to demo game process that is checking. Main functions are: 1. Make moves, 2. Save moves, 3. Demo moves.
Chess classes, 190 lines of code. This class is the main function of the realization of the function of the whole form, including menu, menu of the incident, the JPanel added to form content panel, and form attribute Settings.
ChessBoard classes, 457 lines of code. This class is the main class, including paint () method is used to draw the entire panel, and the mouse event listeners.
ChessPiece classes, 68 lines of code. This class is the class pieces, including pieces of each attribute
ChessPoint classes, 132 lines of code. This class is mainly used for positioning pieces, namely according to the coordinates of the cursor, through this class to calculate the mouse is now in which line, which column. So you can position the pieces.
Demo classes, 32 lines of code. This class is used to demon
(系统自动生成,下载前可以参看下载内容)
下载文件列表
象棋打谱软件代码/Chess.java
象棋打谱软件代码/ChessBoard.java
象棋打谱软件代码/ChessPiece.java
象棋打谱软件代码/ChessPoint.java
象棋打谱软件代码/Demo.java
象棋打谱软件代码/MakeChessManual.java
象棋打谱软件代码/Rule.java
象棋打谱软件代码
象棋打谱软件代码/ChessBoard.java
象棋打谱软件代码/ChessPiece.java
象棋打谱软件代码/ChessPoint.java
象棋打谱软件代码/Demo.java
象棋打谱软件代码/MakeChessManual.java
象棋打谱软件代码/Rule.java
象棋打谱软件代码
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.