package com.java.laiy;

import com.java.laiy.controller.Game;
import com.java.laiy.controller.GameController;
import com.java.laiy.model.Board;
import com.java.laiy.model.Figure;
import com.java.laiy.model.Player;
import com.java.laiy.view.ConsoleView;

public class Main {

    public static void main(final String[] args) {
        final String GAME_NAME = "XO";
        final Board board = new Board();
        final Player[] players = new Player[2];
        players[0] = new Player("Xonstantin", Figure.X);
        players[1] = new Player("Oleg", Figure.O);
        final GameController gameController = new GameController(GAME_NAME, players, board);
        final ConsoleView consoleView = new ConsoleView(gameController);
        final Game game = new Game(consoleView,gameController);

        game.theGame();
    }


}

@@ -1,8 +1,9 @@
+%0A
 package 
@@ -22,198 +22,8 @@
 y;%0A%0A
-import 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
 impo
@@ -47,24 +47,28 @@
 view.Console
+Menu
 View;%0A%0Apubli
@@ -146,487 +146,42 @@
     
-final String GAME_NAME = %22XO%22;%0A        final Board board = new Board();%0A        final Player%5B%5D players = new Player%5B2%5D;%0A        players%5B0%5D = new Player(%22Xonstantin%22, Figure.X);%0A        players%5B1%5D = new Player(%22Oleg%22, Figure.O);%0A        final GameController gameController = new GameController(GAME_NAME, players, board);%0A        final ConsoleView consoleView = new ConsoleView(gameController);%0A        final Game game = new Game(consoleView,gameController);%0A%0A        game.theGame
+ConsoleMenuView.showMenuWithResult
 ();%0A
@@ -189,9 +189,8 @@
    %7D%0A%0A%0A%7D
-%0A

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