Optional
numberOfTurns: numberPrivate
HASHED_Private
TEMPLATE_Private
TEMPLATE_Những điểm có thể xây dựng
The castle coefficient
The position of castles
The position of craftsmens
Những điểm có thể phá hủy
Protected
goingHashed position of going to
Private
hashedProtected
hashedHashed position of castles
Protected
hashedHashed position of craftsmens
Private
hashedProtected
hashedHashed position of ponds
Protected
hashedHashed position of side
Protected
hashedHashed position of walls
The field height
The game id
Last turn
The match id
The game name
The position of ponds
Private
scoreTrọng số của các vị trí
Scores
Scores history
Sides
Những điểm cần đi đến
The territory coefficient
The wall coefficient
The position of walls
The field width
List of actions
Get position of craftsmen
Protected
canCraftsmen
Action
Whether the craftsmen can do action
Check if the craftsmen can do action
Protected
canPosition
Whether the craftsmen can build wall at position
Check if the craftsmen can build wall at position
Protected
canPosition
Whether the position is a pond
Check if the position is a pond
Protected
canCraftsman
Position
Whether the craftsmen can move to position
Check if the craftsmen can move to position
Private
checkPrivate
checkPrivate
checkProtected
craftsmanCraftsman
Action
Whether the craftsman can do action
Get position of craftsmen
Protected
craftsmenProtected
craftsmenCraftsman
Position
Move craftsmen to position
Protected
destroyPosition
Whether the position is a pond
Destroy wall
Protected
getProtected
getCraftsmen
Actions to go to position
Get actions to go to position
Side of team
List of craftsmen
Get position of craftsmen
Private
getCraftsmen position
Build action
Get build action
Private
getCraftsmen position
Action to go to the position
Get action to go to the position
Protected
getCraftsman
Action
Get next action for craftsmen
Private
getCraftsmen position
Next position for the craftsman
Get next position for the craftsman
Protected
getProtected
isProtected
isPosition
True if position is valid
Check if position is valid
Private
prepareTeam mình
Hàm này khởi tạo các giá trị sau: vị trí xây, vị trí phá, điểm của các vị trí và các vị trí đang cần đến
Game state data
Static
randomOptional
options: RandomFieldOptionsRandom field option
Optional
numberOfTurns: numberNumber of turns
Create a random game
Generated using TypeDoc
Description
Caro game manager
Implements
ICaroGameManager