int counter = 1;
gameStatus = new GameStatus(loadedGame.getWhitePlayerType(), loadedGame.getBlackPlayerType(), loadedGame.getWhiteDifficulty(), loadedGame.getBlackDifficulty(), view, view);
for (Move move : loadedGame.getMoveHistory()) {
if (move.getCapturedIndexes().length != 0
|| !Referee.isValidMove(gameStatus.getCurrentBoard(), move, gameStatus.isWhiteOnTurn())) {
throw new BadSaveGameException();
}
Referee.addCaptureInformationToMove(gameStatus.getCurrentBoard(), move);
gameStatus.getCurrentBoard().addMoveWithCaptures(move);
gameStatus.addMove(move);
gameStatus.setWhiteOnTurn(!gameStatus.isWhiteOnTurn());