diff --git a/web/agent_python.html b/web/agent_python.html index 9385ad1fb399bdace7077d5effc012d0e88cfe16..8ef4ccd98d519e8b012013a113c649c59e7be988 100644 --- a/web/agent_python.html +++ b/web/agent_python.html @@ -119,6 +119,8 @@ Piece - Class to represent a Quantum Chess piece current_type - string representing the current piece's type; "unknown" for a superposition Board - Class to represent a quantum chess board. InternalAgent.board is one of these. + pieces[] - Dictionary that maps a colour string ("white" or "black") to a list of Piece's + - ie: Use to get your pieces possible_moves(self, piece, state = None) - Return a list of possible moves for piece. - If state is None, the piece must be in a known classical state - If state is not None, the state of the piece will be temporarily set