public class Player extends GameObject
Modifier and Type | Field and Description |
---|---|
java.util.List<Checker> |
checkers
All the checkers currently in the game owned by this player.
|
java.lang.String |
clientType
What type of client this is, e.g.
|
boolean |
lost
If the player lost the game or not.
|
java.lang.String |
name
The name of the player.
|
Player |
opponent
This player's opponent in the game.
|
java.lang.String |
reasonLost
The reason why the player lost the game.
|
java.lang.String |
reasonWon
The reason why the player won the game.
|
double |
timeRemaining
The amount of time (in ns) remaining for this AI to send commands.
|
boolean |
won
If the player won the game or not.
|
int |
yDirection
The direction your checkers must go along the y-axis until kinged.
|
logs
log
public java.util.List<Checker> checkers
public java.lang.String clientType
public boolean lost
public java.lang.String name
public Player opponent
public java.lang.String reasonLost
public java.lang.String reasonWon
public double timeRemaining
public boolean won
public int yDirection
© 2020 MST ACM SIG-GAME