Javachess

所属分类:棋牌游戏
开发工具:Java
文件大小:56KB
下载次数:14
上传日期:2005-08-10 19:19:28
上 传 者backseeyou
说明:  电脑游戏中的人工智能制作,棋弈游戏,另外有详细的文档加以说明,虽然有文档,但限制20字,还得凑凑,
(computer games production of artificial intelligence, and the chess game newcomers, and a detailed document to be, although there are documents, but the 20-character limit, they have got to take care of, huh)

文件列表:
Javachess (0, 2005-08-10)
Javachess\jcFrame.java (1799, 2000-06-08)
Javachess\jcApp.java (2409, 2000-09-30)
Javachess\jcPlayer.java (1607, 2000-08-07)
Javachess\jcBoard.java (32214, 2000-10-05)
Javachess\jcGame.java (3963, 2000-10-05)
Javachess\jcPlayerAI.java (1456, 2000-09-30)
Javachess\jcPlayerHuman.java (8019, 2000-10-05)
Javachess\jcMove.java (5687, 2000-08-15)
Javachess\jcMoveListGenerator.java (158817, 2000-10-05)
Javachess\jcAISearchAgent.java (17098, 2000-10-05)
Javachess\jcAISearchAgentAlphabeta.java (4425, 2000-10-05)
Javachess\jcAISearchAgentMDTF.java (586, 2000-08-07)
Javachess\jcBoardEvaluator.java (20449, 2000-10-05)
Javachess\jcHistoryTable.java (4213, 2000-10-05)
Javachess\jcTranspositionTable.java (5952, 2000-10-05)
Javachess\jcAISearchAgentMTDF.java (7900, 2000-10-05)
Javachess\jcOpeningBook.java (5674, 2000-10-05)
Javachess\openings.txt (253, 2000-10-05)
Javachess\samplepos.txt (77, 2000-09-30)
Javachess\jchess.bat (386, 2000-10-05)
Javachess\电脑游戏中的人工智能制作.htm (16835, 2001-04-29)

Javachess usage notes: ====================== * The batch file contains an example of how to invoke the code: pass it an opening book as first command-line parameter, and a position description file as (optional) second parameter. Without a position file the program begins in the usual chess starting position. * This is a console-type application. There is no GUI. None. Java makes a window pop-up at start-up time, but you can ignore it. I know I do. * This code is mostly intended as didactic fodder, and not as a playable game. However, if you insist, you can compile the code with JDK 1.2.2 or above. Older versions may work, but I don't guarantee it. * You need to feed your moves to the program in a somewhat cryptic way. The square at the top-left corner of the board (Black Queen's rook) is named 00, and the others are numbered a row at a time until you reach 63. Even worse: you must use two digits for each square number, even those numbered 0 to 9. For example, moving the black queen's knight from its original spot to the square immediately in front of the queen's bishop's pawn would require the following entry: "01 18". One space in between. No more, no less. * The format of an opening book file is the following: - First line: number of lines of play in the book. - For each line of play, a number of moves in "source-destination" pair format, followed by the keyword END * The format of a starting position file is the following: - Who will move next: WHITE or BLACK - Number of pieces on the board - For each piece, its two-character ID followed by its starting square - Four string constants determining whether castling is legal for each player on each side, in the following order: Black Kingside, White Kingside, Black Queenside, White Queenside. - An integer constant marking the position of the "en passant" pawn, if any. If you are nuts enough to want to try this, look at the code, otherwise leave it at 0 (no such pawn) ;)

近期下载者

相关文件


收藏者