diff --git a/shared/src/main/java/chess/ChessGame.java b/shared/src/main/java/chess/ChessGame.java index e5ed9e9..ec2c929 100644 --- a/shared/src/main/java/chess/ChessGame.java +++ b/shared/src/main/java/chess/ChessGame.java @@ -3,7 +3,7 @@ import java.util.Collection; /** - * For a class that can manage a chess game, making moves on a board + * A class that can manage a chess game, making moves on a board *

* Note: You can add to this class, but you may not alter * signature of the existing methods. @@ -22,7 +22,7 @@ public TeamColor getTeamTurn() { } /** - * Set's which teams turn it is + * Sets which teams turn it is * * @param team the team whose turn it is */ @@ -39,7 +39,7 @@ public enum TeamColor { } /** - * Gets a valid moves for a piece at the given location + * Gets all valid moves for a piece at the given location * * @param startPosition the piece to get valid moves for * @return Set of valid moves for requested piece, or null if no piece at @@ -50,7 +50,7 @@ public Collection validMoves(ChessPosition startPosition) { } /** - * Makes a move in a chess game + * Makes a move in the chess game * * @param move chess move to perform * @throws InvalidMoveException if move is invalid @@ -91,7 +91,7 @@ public boolean isInStalemate(TeamColor teamColor) { } /** - * Sets this game's chessboard with a given board + * Sets this game's chessboard to a given board * * @param board the new board to use */ diff --git a/shared/src/main/java/chess/ChessPosition.java b/shared/src/main/java/chess/ChessPosition.java index 5ea43e0..9fd3bf2 100644 --- a/shared/src/main/java/chess/ChessPosition.java +++ b/shared/src/main/java/chess/ChessPosition.java @@ -21,7 +21,7 @@ public int getRow() { /** * @return which column this position is in - * 1 codes for the left row + * 1 codes for the left column */ public int getColumn() { throw new RuntimeException("Not implemented");