public static void main(String args[]) {
		if(args.length == 0){
			hexxThread = new Thread(new Runnable() {
				@Override

				public void run() {
					state = new State();
					ui = new HaxagonUI();
					board = new Board(5, state, ui);
					synchronized (state) {
						try {
							state.wait();
						} catch (InterruptedException e) {
						}
					}
					board.gotoMain();
					gameLoop = new GameLoopState();
					System.out.println("P1="+ui.getP1()+" P2="+ui.getP2());
					runArbi();
				//	if(GameLoopState.wav.isReady()){
						
				//	}
				}
			});
			hexxThread.start();
		//	GameLoopState.wav.openSong("music.wav");
		}
	}