public GameBoard(NMMGameModel nmm, MainWindow mw){
		this.gameModel = nmm;
		this.mw = mw;
		this.p1 = new PlayerPanel(nmm.getPlayer1());
		this.p2 = new PlayerPanel(nmm.getPlayer2());
		this.gameModel = nmm;
		this.gp = new GamePanel(this.gameModel, this);
		
		this.setSize(950, 800);
		
		this.topPanel = new JPanel();
		this.scorePanel = new JPanel();
 		try {
			this.board = ImageIO.read(new File("resources\\boardBG.png"));
		} catch (IOException e) {
			e.printStackTrace();
		}
				
		p1Name = new JLabel(this.gameModel.getPlayer1().getName());
		p2Name = new JLabel(this.gameModel.getPlayer2().getName());
		p1Score = new JLabel("Score: " + String.valueOf(this.gameModel.getPlayer1().getScore()));
		p2Score = new JLabel("Score: " + String.valueOf(this.gameModel.getPlayer1().getScore()));
		currentPlayer = new JLabel(this.gameModel.getCurrPlayer().getName().trim() + ", " + this.gameModel.getPhaseText().trim());
		error = new JLabel("               ");
		
		p1Name.setFont(new java.awt.Font("Times New Roman", Font.BOLD, 24));
		p2Name.setFont(new java.awt.Font("Times New Roman", Font.BOLD, 24));
		p1Name.setForeground(nmm.getPlayer1().getColor());
		p2Name.setForeground(nmm.getPlayer2().getColor());
		currentPlayer.setFont(new java.awt.Font("Times New Roman", Font.BOLD, 30));
		error.setFont(new java.awt.Font("Times New Roman", Font.BOLD, 26));
		error.setForeground(Color.BLACK);
		p1Name.setHorizontalAlignment(JLabel.CENTER);
		currentPlayer.setHorizontalAlignment(JLabel.CENTER);
		p2Name.setHorizontalAlignment(JLabel.CENTER);
		p1Score.setHorizontalAlignment(JLabel.CENTER);
		p2Score.setHorizontalAlignment(JLabel.CENTER);
		error.setHorizontalAlignment(JLabel.CENTER);
	
		this.topPanel.setLayout(new BorderLayout());
		this.topPanel.add(this.p1Name, BorderLayout.WEST);
		this.topPanel.add(this.p2Name, BorderLayout.EAST);
		this.topPanel.add(this.currentPlayer, BorderLayout.NORTH);
		
		
		this.scorePanel.setLayout(new BorderLayout());
		this.scorePanel.add(p1Score, BorderLayout.WEST);
		this.scorePanel.add(p2Score, BorderLayout.EAST);
		this.scorePanel.add(this.error, BorderLayout.CENTER);
		this.topPanel.add(this.scorePanel, BorderLayout.SOUTH);
		
		this.topPanel.setBackground(Color.WHITE);
		this.scorePanel.setBackground(Color.WHITE);
		
		this.setLayout(new BorderLayout());
		this.add(topPanel, BorderLayout.NORTH);
		this.add(this.p1, BorderLayout.WEST);
		this.add(this.gp, BorderLayout.CENTER);
		this.add(this.p2, BorderLayout.EAST);
		
		this.topPanel.setOpaque(false);
		this.scorePanel.setOpaque(false);
		this.gp.setOpaque(false);
		this.p1.setOpaque(false);
		this.p2.setOpaque(false);
		
		this.setVisible(true);
		this.setOpaque(false);
		int delay = 1500;
        this.timer = new Timer(delay, this);
	}