diff --git a/src/model/Board.java b/src/model/Board.java index 4c77629..6ead63b 100755 --- a/src/model/Board.java +++ b/src/model/Board.java @@ -128,8 +128,8 @@ public ArrayList generateMoveFrontier(Color color) { for (int j = 0; j < BOARD_SIZE; ++j) { Piece p = this.representation[i][j]; if(null != p && p.getColor() == color) { - ArrayList jump_moves = generateMoves(this.representation[i][j]); - for (Move move : jump_moves) { + ArrayList moves = generateMoves(this.representation[i][j]); + for (Move move : moves) { Board board = new Board(this); board.move(move); frontier.add(board);