Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
B
G
M
N
O
S
T
W
X
Y
B
black_time_control
- Variable in class
GameClient
Number of seconds black player has at start of game, if playing under time controls.
G
GameClient
- class
GameClient
.
LOA game client for Gamed server.
GameClient(int, String, int)
- Constructor for class
GameClient
Construct a game client, connected to the specified server and ready to play.
get_move()
- Method in class
GameClient
Get a move from the server.
M
make_move(Move)
- Method in class
GameClient
Make a move on the server.
move
- Variable in class
GameClient
Move returned by get_move() method as side-effect.
Move
- class
Move
.
Move for Gamed, GameClient.
Move(int, int, int, int)
- Constructor for class
Move
Create a move object from the given starting and ending coordinates in the range 0-7.
Move(String)
- Constructor for class
Move
Create a move object from a description of the form "coord-coord" where "coord" is an algebraic square number.
my_time
- Variable in class
GameClient
Number of seconds the client has currently remaining, if playing under time controls.
N
name()
- Method in class
Move
Get a description of the move object.
O
opp_time
- Variable in class
GameClient
Number of seconds the client's opponent has currently remaining, if playing under time controls.
S
STATE_CONTINUE
- Static variable in class
GameClient
Game will continue.
STATE_DONE
- Static variable in class
GameClient
Game over.
T
time_controls
- Variable in class
GameClient
True if playing under time controls.
W
white_time_control
- Variable in class
GameClient
Number of seconds white player has at start of game, if playing under time controls.
who
- Variable in class
GameClient
Which side this client is playing.
WHO_BLACK
- Static variable in class
GameClient
Player is black.
WHO_NONE
- Static variable in class
GameClient
Player is nobody.
WHO_OTHER
- Static variable in class
GameClient
Player is undefined.
WHO_WHITE
- Static variable in class
GameClient
Player is white.
winner
- Variable in class
GameClient
If done, player which won.
X
x1
- Variable in class
Move
Source square coordinates in the range 0-7, 0-7, where the first coordinate is the column (x) value, and the second is the row (y) value.
x2
- Variable in class
Move
Destination square coordinates in the range 0-7, 0-7, where the first coordinate is the column (x) value, and the second is the row (y) value.
Y
y1
- Variable in class
Move
Source square coordinates in the range 0-7, 0-7, where the first coordinate is the column (x) value, and the second is the row (y) value.
y2
- Variable in class
Move
Destination square coordinates in the range 0-7, 0-7, where the first coordinate is the column (x) value, and the second is the row (y) value.
B
G
M
N
O
S
T
W
X
Y
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES