Permalink
Cannot retrieve contributors at this time
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?
CSE-4705-Checkers/src/controller/GameConstants.java
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
30 lines (25 sloc)
1007 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | |
} |