Welcome to the Java-Chess project!
As you might know, we aim at creating a fully functional chess program written
in Java 2.
You can always get the latest results of our efforts at
http://www.java-chess.de
If you are interested in the topic and have any skills in the field, you should
not hesitate to join our little project (see the mail addies at the contact-page
of the site).
How to run Java-Chess:
======================
To run this program, you'll definitely need a installed Java Runtime Environment
(JRE) or Java Development Kit (JDK). If you don't have it already, you can
get the latest version at
http://java.sun.com
or (for Linux) at
http://www.blackdown.org
. If your Java-Chess download includes a jar-file in the build directory or you
have already compiled our application, you should be able to start it simply
by entering something like
'java -jar javaChess.jar' (without the quotes!)
In some cases (depending on your settings), it might be useful to
increase the heapsize by adding a argument like
'java -Xmx64m -jar javaChess.jar'
to the call. If that doesn't work for some reason, you can also start it
by adding the jar file to the classpath and giving the main class as a
commandline argument
'java -classpath javaChess.jar:$CLASSPATH de.java_chess.javaChess.JavaChess'
How to compile Java-Chess:
==========================
To compile the project, you should have the Jakarta-Ant build system
installed, that you can get at
http://jakarta.apache.org/ant/index.html
. You should find detailed installation instructions in the package,
but one important point is to set the ANT_HOME variable to the
installation directory.
At the moment, you'll need 2 libraries in the lib/ directory to
fully compile and test Java-chess.
One is antlrall.jar , the complete Antlr lib, that we use to generate
a PGN parser from a PGN-Grammar (see the pgn.g file). Optionally, you
can also include your Antlr installation directory into the classpath.
The next lib is the junit.jar , the JUnit testing framework, which you
can download at junit.org .
If you have the libs installed, you should go to the src/ directory
and enter 'ant' to get the help screen.
If you don't have the parser generated, you should start with
'ant generateparser' to generate the required java files in the
pgn/ subdirectory.
Next step should be the compilation and generation of the jar-File
by entering 'ant package'. If you don't see any error messages,
you should find a jar file now in the build directory.
At this point, you can also run the included tests to do a first
rough check, if you can expect a working app with your settings.
To run them, simply type 'ant test' in the src/ directory and
you'll hopefully see a green bar, indicating that none of the
tests failed. If you see a red bar, please report the problem
to us!
If you have any further questions, do not hesitate to contact me,
Andreas Rueckert <mail@andreas-rueckert.de>
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
一个java做的国际象棋小游戏.rar (198个子文件)
stylesheet.css 1KB
screenshot1.gif 69KB
ChessPieces.gif 2KB
ChessPieces02.gif 2KB
end03.gif 1KB
start03.gif 1KB
back03.gif 1KB
forward03.gif 1KB
index-all.html 110KB
BitBoard.html 24KB
ChessBoardRenderer2D.html 23KB
ChessEngineImpl.html 23KB
PGNParser.html 22KB
BitBoardImpl.html 20KB
NotationPanel.html 19KB
PGNLexer.html 18KB
EnginePanel.html 18KB
PlyGenerator.html 16KB
BitBoardAnalyzerImpl.html 16KB
PlyNotationImpl.html 16KB
JavaChess.html 16KB
overview-tree.html 15KB
GameNotationImpl.html 15KB
PlyImpl.html 15KB
PieceImpl.html 14KB
GameController.html 14KB
Piece.html 13KB
GameImpl.html 13KB
BitBoardAnalyzer.html 13KB
PositionImpl.html 13KB
AnalyzedPlyImpl.html 13KB
ChessEngine.html 13KB
EnPassantPlyImpl.html 12KB
CastlingPlyImpl.html 12KB
serialized-form.html 12KB
TransformationPlyImpl.html 12KB
PlyNotation.html 12KB
SaveGameAction.html 12KB
SaveGameAsAction.html 12KB
Board.html 11KB
AnalyzedPly.html 11KB
PGNTokenTypes.html 10KB
JavaChessAction.html 10KB
Ply.html 10KB
GameNotation.html 10KB
Position.html 10KB
Game.html 10KB
PGNOutputStream.html 10KB
PlyHashtable.html 9KB
EnPassantPly.html 9KB
PGNFileFilter.html 9KB
ChessBoardRenderer.html 9KB
TransformationPly.html 9KB
CastlingPly.html 9KB
BitUtils.html 8KB
PlyHashtableEntry.html 8KB
ChessEngineTest.html 8KB
JavaChessTest.html 8KB
help-doc.html 7KB
overview-summary.html 7KB
package-summary.html 7KB
package-tree.html 7KB
package-summary.html 6KB
package-tree.html 6KB
package-tree.html 6KB
package-tree.html 5KB
package-summary.html 5KB
package-summary.html 5KB
package-tree.html 5KB
allclasses-frame.html 5KB
package-tree.html 5KB
package-summary.html 5KB
package-summary.html 5KB
package-summary.html 5KB
package-tree.html 5KB
package-summary.html 5KB
package-summary.html 5KB
package-summary.html 5KB
package-summary.html 5KB
package-tree.html 5KB
package-tree.html 5KB
package-tree.html 5KB
package-tree.html 5KB
package-tree.html 5KB
package-summary.html 5KB
package-summary.html 5KB
package-tree.html 5KB
package-summary.html 5KB
package-tree.html 5KB
package-tree.html 5KB
package-summary.html 5KB
package-summary.html 4KB
package-tree.html 4KB
deprecated-list.html 4KB
overview-frame.html 3KB
package-frame.html 2KB
package-frame.html 1KB
package-frame.html 1KB
package-frame.html 1KB
package-frame.html 1KB
共 198 条
- 1
- 2
资源评论
- qq_151089592014-05-07程序并不是完美运行,需要改进,不过真题还是不错的!
- Justin_leeken2014-04-01程序可以看懂,有利于我的学习
易极赞
- 粉丝: 546
- 资源: 88
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功