public void init(final int n) 
    {
        board = new Board(n);
        frame.add(this.board);
        frame.setDefaultCloseOperation(3);
        frame.setSize(1000, 700);
        frame.setLocationRelativeTo(null);
        frame.setTitle("Last Stand");
        frame.setResizable(false);
        frame.setVisible(true);
    }