public void render() {
		BufferStrategy buffStrat = getBufferStrategy();
		if (buffStrat == null) {
			createBufferStrategy(3);
			return;
		}
		
		Graphics graphs = buffStrat.getDrawGraphics();
		
		
		graphs.setColor(Color.BLACK);
		graphs.drawImage(image, 0, 0, getWidth(), getHeight(), null);	// Background
		
		
		// Setting the Scores
		graphs.setColor(Color.WHITE);								// color for the scores
		graphs.drawString("Player 1: " + player1Score, 5, 10);
		graphs.drawString("Player 2: " + player2Score, getWidth() - 70, 10);
		
		player.render(graphs);    // render(create) the player
		ai.render(graphs);		   // render(create) the AI
		ball.render(graphs);		// render(create) the ball
		
		graphs.dispose();
		buffStrat.show();
			
	}