OOP-Projects-Java

Log | Files | Refs | README

Main.java (348B)


      1 package game;
      2 
      3 import java.awt.event.ActionEvent;
      4 import java.awt.event.ActionListener;
      5 
      6 public class Main {
      7 
      8 	/**
      9 	 * Starts all the necessary components for the game to run.
     10 	 * @param args
     11 	 */
     12 	public static void main(String[] args) {
     13 		Board board = new Board();
     14 		GUI gui = new GUI(board);
     15 		Game game = new Game(board);
     16 		game.start();
     17 	}
     18 }