I am also working on a breakout game and am almost done except for the scoring. Here is the code I am working on.
Code :
	{
	glRasterPos2f(4.0f,2.0f);
	glutBitmapCharacter(GLUT_BITMAP_TIMES_ROMAN_24,c);
	glutBitmapCharacter(GLUT_BITMAP_TIMES_ROMAN_24,48);
	glutBitmapCharacter(GLUT_BITMAP_TIMES_ROMAN_24,48);
	}
 
	if(bricks[2][3]==true)
	{
	glRasterPos2f(4.0f,2.0f);
	glutBitmapCharacter(GLUT_BITMAP_TIMES_ROMAN_24,50);
	glutBitmapCharacter(GLUT_BITMAP_TIMES_ROMAN_24,48);
	glutBitmapCharacter(GLUT_BITMAP_TIMES_ROMAN_24,48);
	}
I want when the ball hits a brick to score 100 points.