@@ -0,0 +1,3006 @@
+package com.java.laiy.view;%0A%0Aimport com.java.laiy.controller.Game;%0Aimport com.java.laiy.controller.GameController;%0Aimport com.java.laiy.model.Board;%0Aimport com.java.laiy.model.Figure;%0Aimport com.java.laiy.model.Player;%0A%0Aimport javax.xml.soap.SOAPPart;%0Aimport java.util.Scanner;%0A%0Apublic class ConsoleMenuView %7B%0A%0A    private static final int START_CODE = 1;%0A%0A    private static final int LOAD_CODE = 2;%0A%0A    private static final int SETTINGS_CODE = 3;%0A%0A    private static final int EXIT_CODE = 4;%0A%0A    public static void showMenuWithResult() %7B%0A%0A        System.out.println(%22++++  XO Magic  ++++%22);%0A        System.out.println(START_CODE + %22 - Play%22);%0A        System.out.println(LOAD_CODE + %22 - Load%22);%0A        System.out.println(SETTINGS_CODE + %22 - Set up and play%22);%0A        System.out.println(EXIT_CODE + %22 - Exit%22);%0A        System.out.print(%22%3E %22);%0A%0A        final Scanner scanner = new Scanner(System.in);%0A        int choice = scanner.nextInt();%0A%0A        switch (choice) %7B%0A            case START_CODE:%0A                System.out.println(%22A new game started%22);%0A                defaultStart();%0A                break;%0A            case LOAD_CODE:%0A                System.out.println(%22Loading...%22);%0A                //TODO%0A                break;%0A            case SETTINGS_CODE:%0A                customInput();%0A                break;%0A            case EXIT_CODE:%0A                System.out.println(%22Exit%22);%0A                break;%0A            default:%0A                System.out.println(%22Choice is incorrect, please try again%22);%0A                break;%0A        %7D%0A    %7D%0A%0A    private static void defaultStart()%7B%0A        final String gameName = %22XO%22;%0A        final int boardSize = 3;%0A        final String playerOneName = %22PLAYER X%22;%0A        final String playerTwoName = %22PLAYER O%22;%0A        customStart(boardSize,playerOneName,playerTwoName, gameName);%0A    %7D%0A%0A    private static void customInput()%7B%0A        Scanner input = new Scanner(System.in);%0A        System.out.println(%22Enter game name:%22);%0A        String gameName = input.nextLine();%0A        System.out.println(%22Enter player one name:%22);%0A        String playerOneName = input.nextLine();%0A        System.out.println(%22Enter player two name:%22);%0A        String playerTwoName = input.nextLine();%0A        System.out.println(%22Enter board size:%22);%0A        int boardSize = input.nextInt();%0A        customStart(boardSize,playerOneName,playerTwoName, gameName);%0A    %7D%0A%0A    private static void customStart(final int boardSize, final String playerOneName, final String playerTwoName, final String gameName)%7B%0A        final Board board = new Board(boardSize);%0A        final Player%5B%5D players = new Player%5B2%5D;%0A        players%5B0%5D = new Player(playerOneName, Figure.X);%0A        players%5B1%5D = new Player(playerTwoName, Figure.O);%0A        final GameController gameController = new GameController(gameName, players, board);%0A        final ConsoleView consoleView = new ConsoleView(gameController);%0A        final Game game = new Game(consoleView,gameController);%0A        game.theGame();%0A    %7D%0A%7D%0A

Move game start and settings to MenuView, MenuView renamed in ConsoleMenuView