public void render(Graphics g){
		g.setColor(new Color(81, 217, 61));
		g.fillRect(50, 40, player1.energy, 30);
		g.fillRect(JudokaComponent.WIDTH - 50, 40, -player2.energy, 30);
		g.setColor(Color.RED);
		g.fillRect(450, 40, player1.energy - 400, 30);
		g.fillRect(JudokaComponent.WIDTH - 450, 40, 400 - player2.energy, 30);
		
		g.drawImage(JudokaComponent.flag, 140, 70, 40, 60, null);
		g.drawImage(JudokaComponent.flag, 200, 70, 40, 60, null);
		g.drawImage(JudokaComponent.flag, 260, 70, 40, 60, null);
		g.drawImage(JudokaComponent.flag, 320, 70, 40, 60, null);

		g.drawImage(JudokaComponent.getFlippedImage(JudokaComponent.flag), 590, 70, 40, 60, null);
		g.drawImage(JudokaComponent.getFlippedImage(JudokaComponent.flag), 650, 70, 40, 60, null);
		g.drawImage(JudokaComponent.getFlippedImage(JudokaComponent.flag), 710, 70, 40, 60, null);
		g.drawImage(JudokaComponent.getFlippedImage(JudokaComponent.flag), 770, 70, 40, 60, null);

		g.drawImage(JudokaComponent.getFlippedImage(JudokaComponent.timeFlag), 416, 103, 140, 70, null);
		
		g.setFont(JudokaComponent.hugeFont);
		g.setColor(Color.BLACK);
		g.fillRect(46, 36, 404, 4);
		g.fillRect(450, 74, 4, -38);
		g.fillRect(46, 70, 404, 4);
		g.fillRect(46, 74, 4, -38);
		if(paused) g.setColor(Color.RED);
		else g.setColor(new Color(81, 217, 61));
		g.drawString(clock + "", JudokaComponent.WIDTH / 2 - (clock + "").length() * 15, 154);

		g.setColor(Color.BLACK);
		g.fillRect(JudokaComponent.WIDTH - 450, 36, 400, 4);
		g.fillRect(JudokaComponent.WIDTH - 50, 74, 4, -38);
		g.fillRect(JudokaComponent.WIDTH - 450, 70, 400, 4);
		g.fillRect(JudokaComponent.WIDTH - 454, 74, 4, -38);
		
		g.setColor(Color.WHITE);
		g.drawString(player1.yukos + "", 144, 114);
		g.drawString(player1.wazaaris + "", 204, 114);
		g.drawString(player1.ippons + "", 264, 114);

		g.drawString(player2.yukos + "", 774, 114);
		g.drawString(player2.wazaaris + "", 714, 114);
		g.drawString(player2.ippons + "", 654, 114);
		
		g.setColor(Color.RED);
		g.drawString(player1.shidos + "", 324, 114);
		g.drawString(player2.shidos + "", 594, 114);
		
		g.setColor(Color.WHITE);
		if(player1.playerState == PlayerState.WINNER) g.drawString("WINNER", player1.getX(), JudokaComponent.HEIGHT - 350);
		if(player2.playerState == PlayerState.WINNER) g.drawString("WINNER", player2.getX(), JudokaComponent.HEIGHT - 350);
		if(player1.playerState == PlayerState.LOSER) g.drawString("LOSER", player1.getX(), JudokaComponent.HEIGHT - 350);
		if(player2.playerState == PlayerState.LOSER) g.drawString("LOSER", player2.getX(), JudokaComponent.HEIGHT - 350);
		
		if(player2.getX() <  JudokaComponent.WIDTH / 2) 
			g.drawImage(JudokaComponent.refereeLeft, JudokaComponent.WIDTH / 2 - 16 * (getDojoScale(dojo) - 2) / 2, getDojoYOffSet(), 16 * (getDojoScale(dojo) - 2), 24 * (getDojoScale(dojo) - 2), null);
		else
			g.drawImage(JudokaComponent.refereeRight, JudokaComponent.WIDTH / 2 - 16 * (getDojoScale(dojo) - 2) / 2, getDojoYOffSet(), 16 * (getDojoScale(dojo) - 2), 24 * (getDojoScale(dojo) - 2), null);
		
		player1.render(player1.getX(), player1.getY(), g);
		player2.render(player2.getX(), player2.getY(), g);
		
		g.setFont(JudokaComponent.bigFont);
		if(matchIsOver) g.drawString(endText, 210, 500);
	}