Changed management of config file, openbook and problems.
Files can now be included in the jarfile.
This commit is contained in:
@ -37,7 +37,7 @@ public class SuicideChess {
|
||||
/**
|
||||
* Use mobility in evaluation function (slows the program down a lot)
|
||||
*/
|
||||
public static final boolean USE_MOBILITY = true;
|
||||
public static final boolean USE_MOBILITY = false;
|
||||
|
||||
/**
|
||||
* do move ordering in Alpha-Beta pruning ?
|
||||
@ -63,7 +63,7 @@ public class SuicideChess {
|
||||
/**
|
||||
* Quiescence search -> don't evaluate if captures are possible.
|
||||
*/
|
||||
public static final boolean QUIESCENCE_SEARCH = false;
|
||||
public static final boolean QUIESCENCE_SEARCH = true;
|
||||
|
||||
/**
|
||||
* Quiescence limit (ie. if more than that many possibilities of capturing, don't analyse further.
|
||||
@ -99,7 +99,7 @@ public class SuicideChess {
|
||||
/**
|
||||
* The name to be displayed
|
||||
*/
|
||||
public static final String NAME = "djib's SuShi v1.0.4";
|
||||
public static final String NAME = "djib's SuShi v1.0.5";
|
||||
|
||||
/**
|
||||
* Displays informations in the console.
|
||||
@ -225,7 +225,7 @@ public class SuicideChess {
|
||||
try {
|
||||
String whatMove= moveInput.readLine();
|
||||
boolean playedALegalMove = false;
|
||||
|
||||
//System.out.println("Got message from xboard: "+whatMove);
|
||||
if (whatMove.startsWith("help")) {
|
||||
System.out.println("==================== Quick help ====================\nEnter moves in SAN notation : e2e3, e7e8r, ...\n");
|
||||
System.out.println("new\t\t\tcreates a new game");
|
||||
@ -433,8 +433,8 @@ public class SuicideChess {
|
||||
System.out.println("Capturing is mandatory.");
|
||||
}
|
||||
//bitboard.debug();
|
||||
for (int moveIndex = 0; moveIndex < allLegalMoves.size(); moveIndex++)
|
||||
System.out.println(allLegalMoves.get(moveIndex));
|
||||
//for (int moveIndex = 0; moveIndex < allLegalMoves.size(); moveIndex++)
|
||||
// System.out.println(allLegalMoves.get(moveIndex));
|
||||
System.out.println("Illegal move: "+theMove.toString());
|
||||
} else {
|
||||
bitboard.doMove(allLegalMoves.get(foundMoveIndex));
|
||||
|
Reference in New Issue
Block a user