...
It says I am failing the last condition? What am I failing at that because the methods are called with the game.
package com.codegym.task.task35.task3513;
import javax.swing.*;
public class Main {
public static void main(String[] args) {
Model model = new Model();
Controller controller = new Controller(model);
JFrame game2 = new JFrame();
game2.setTitle("2048");
game2.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
game2.setSize(460, 520);
game2.setResizable(false);
game2.add(controller.getView());
game2.setLocationRelativeTo(null);
game2.setVisible(true);
}
}