package impl;

import java.util.ArrayList;
import java.util.List;

import game.impl.Board;
import game.impl.BoardLocation;
import game.impl.GamePiece;
import game.impl.Player;


public class OthelloGameFactory {

    public List<Player> createPlayers(){
        List<Player> players = new ArrayList<Player>();
        players.add(new Player("P1", makePlayerOneGamePieces()));
        players.add(new Player("P2", makePlayerTwoGamePieces()));

        return players;
    }

    public TurnCounter createTurnCounter(List<Player> players){
        return new TurnCounter(players);
    }

    public Board createBoard(){
        return new Board(makeBoardLocations());
    }

    private List<GamePiece> makePlayerOneGamePieces(){
        List<GamePiece> list = new ArrayList<GamePiece>();

        //for(int i = 0; i < 32; i++)
         //   list.add(new GamePiece("O"));

        return list;
    }

    private List<GamePiece> makePlayerTwoGamePieces(){
        List<GamePiece> list = new ArrayList<GamePiece>();

        //for(int i = 0; i < 32; i++)
         //   list.add(new GamePiece("X"));

        return list;
    }

    private List<BoardLocation> makeBoardLocations(){
        List<BoardLocation> list = new ArrayList<BoardLocation>();

        for(int j = (int)'A'; j <= (int)'H'; j++)
            for(int i = 1; i <= 8; i++)
                list.add(new BoardLocation(""+(char)j+i));
        System.out.println(list);
        return list;
    }
}

@@ -1393,41 +1393,8 @@
 ));%0A
-        System.out.println(list);
 %0A   

Output fix