public Game(char [][] b)
	{
		//JFrame constructor which puts the
		//current game number in the title
		super("Sym4 Game " + gamesPlayed);
		//get content pane and set layout
		contents = getContentPane();
		contents.setLayout(new BorderLayout(55,50));
		
		//create individual gridlayouts for different
		//sections of the GUI
		GridLayout gl = new GridLayout(4,4);
		GridLayout butt = new GridLayout(1,3);
		GridLayout sel = new GridLayout(1,4);
		//add these layouts to the JPanels
		board.setLayout(gl);
		options.setLayout(butt);
		select.setLayout(sel);
		
		//instantiate various buttons
		//and add action listeners
		//and change fonts
		for(int x = 1; x < game.length; x++)
		{
			choose[x] = new JButton("" + used[x]);
			choose[x].addActionListener(new SelectionButton());
			for(int y = 1; y < game[x].length; y++)
			{
				game[x][y] = new JButton("" + b[x][y]);
				game[x][y].setFont(new Font("Arial", Font.BOLD, 18));
				game[x][y].setBackground(Color.WHITE);
				game[x][y].addActionListener(new GameBoard());
				
				if(!(game[x][y].getText().equals("-")))
					game[x][y].setEnabled(false);
				
			}
			
		}
		
		//add the buttons to the JPanels
		for(int x = 1; x < game.length; x++)
		{
			select.add(choose[x]);
			
			for(int y = 1; y < game[x].length; y++)
				board.add(game[x][y]);
		}
		
		//blank jlabels that are used for side spacing
		blank[0] = new JLabel(" ");
		blank[1] = new JLabel(" ");
		
		//add action listeners to the different option buttons
		submit.addActionListener(new OptionButton());
		quit.addActionListener(new OptionButton());
		score.addActionListener(new OptionButton());
		
		//add the option buttons to their jpanel
		options.add(submit);
		options.add(quit);
		options.add(score);
		
		//add everything to the GUI in the different
		//borderlayout locations
		contents.add(blank[0], BorderLayout.EAST);
		contents.add(blank[1], BorderLayout.WEST);
		contents.add(select, BorderLayout.NORTH);
		contents.add(board,BorderLayout.CENTER);	
		contents.add(options, BorderLayout.SOUTH);
		
		//set teh size and make it un-resizable
		setSize(500,500);
		setResizable(false);
		
		
	}