Labyrinth
A labyrinth game assignment
|
Class to hold constant values for entire application. More...
Static Package Attributes | |
static final int | numOfPlayers = 2 |
static final int | maxTileWalls = 2 |
Number of maximum walls for each tile on the board. More... | |
static final int | noSupply =-1 |
Number to indicate the absent of supply. More... | |
static final int | noOpponent =-1 |
Number to indicate the absent of supply. More... | |
static final int | noTileId =-1 |
Number to indicate wrong tileId. More... | |
static final int | EOR =-1 |
Number to indicate the End Of Range. More... | |
static final int | viewDistance =3 |
The max distance of the Heuristic player's ability to see. More... | |
static final int | noView = viewDistance+1 |
static final double | opponentFactor = 1.0 |
Parameters to control move evaluation. More... | |
static final double | supplyFactor = 0.65 |
supply distance factor More... | |
static final double | preMoveFactor = 0.65 |
pre move distances factor More... | |
static final double | postMoveFactor = 0.35 |
post move distances factor More... | |
static final int | minimaxTreeDepth = 4 |
The maximum depth of the minimax tree. More... | |
Class to hold constant values for entire application.
Definition at line 21 of file Common.java.
|
staticpackage |
Number to indicate the End Of Range.
Definition at line 27 of file Common.java.
|
staticpackage |
Number of maximum walls for each tile on the board.
Definition at line 23 of file Common.java.
|
staticpackage |
The maximum depth of the minimax tree.
Definition at line 37 of file Common.java.
|
staticpackage |
Number to indicate the absent of supply.
Definition at line 25 of file Common.java.
|
staticpackage |
Number to indicate the absent of supply.
Definition at line 24 of file Common.java.
|
staticpackage |
Number to indicate wrong tileId.
Definition at line 26 of file Common.java.
|
staticpackage |
Definition at line 29 of file Common.java.
|
staticpackage |
Definition at line 22 of file Common.java.
|
staticpackage |
Parameters to control move evaluation.
opponent distance factor
Definition at line 33 of file Common.java.
|
staticpackage |
post move distances factor
Definition at line 36 of file Common.java.
|
staticpackage |
pre move distances factor
Definition at line 35 of file Common.java.
|
staticpackage |
supply distance factor
Definition at line 34 of file Common.java.
|
staticpackage |
The max distance of the Heuristic player's ability to see.
Definition at line 28 of file Common.java.