Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.packag;
- import javax.swing.*;
- public class Start {
- public static void main (String[] args){
- Game game = new Game();
- JFrame window = new JFrame("2048");
- window.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
- window.setResizable(false);
- window.add(game);
- window.pack();
- window.setLocationRelativeTo(null);
- window.setVisible(true);
- game.start();
- }
- }
Add Comment
Please, Sign In to add comment