Skip to content
Permalink
49ca835d92
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
30 lines (25 sloc) 1007 Bytes
package controller;
import model.Color;
public class GameConstants {
public static final int USER_MODE = 0;
public static final int SERVER_MODE = 1;
public static final Color THUNK_COLOR = Color.WHITE;
public static final Color USER_COLOR = Color.BLACK;
public static final int MAX_PASSIVE_MOVES = 50;
public static final int MAX_SEARCH_DEPTH = 7;
public static final int BOARD_SIZE = 8;
/* Parameters to the heuristic */
public static final boolean APEX = true;
public static final boolean BACK = true;
public static final boolean CENT = true;
public static final boolean KCENT = true;
public static final boolean MOB = true;
public static final boolean PIECE_DIFFERENTIAL = true;
/* Heuristic parameter weights */
public static final int APEX_WEIGHT = 2;
public static final int BACK_WEIGHT = 2;
public static final int CENT_WEIGHT = 2;
public static final int KCENT_WEIGHT = 2;
public static final int MOB_WEIGHT = 1;
public static final int PIECE_DIFFERENTIAL_WEIGHT = 2;
}