public void paintComponent(Graphics g){
		Graphics2D g2 = (Graphics2D) g;
		g2.setColor(Color.black);
		for(int row = 0; row < game.getBoard().getLength(); row++){
			for(int col = 0; col < game.getBoard().getWidth(); col++){
				Rectangle rec = new Rectangle(col *23,row*23,23,23);
				
				if(game.getBoard().getValue(row, col) == 1){
					g2.setColor(Color.cyan);
					g2.fill(rec);
				}
				else if(game.getBoard().getValue(row, col) == 2){
					g2.setColor(Color.blue);
					g2.fill(rec);
				}
				else if(game.getBoard().getValue(row, col) == 3){
					g2.setColor(Color.orange);
					g2.fill(rec);
				}
				else if(game.getBoard().getValue(row, col) == 4){
					g2.setColor(Color.yellow);
					g2.fill(rec);
				}
				else if(game.getBoard().getValue(row, col) == 5){
					g2.setColor(Color.green);
					g2.fill(rec);
				}
				else if(game.getBoard().getValue(row, col) == 6){
					g2.setColor(Color.pink);
					g2.fill(rec);
				}
				else if(game.getBoard().getValue(row, col) == 7){
					g2.setColor(Color.red);
					g2.fill(rec);
				}
				g2.setColor(Color.black);
				g2.draw(rec);
				repaint();
			}
		}
	//	System.out.println(game.getPiece());
	}