Displaying the Scoreboard

I’ve changed the source code a bit for Pong. Lately, I’ve studied more object oriented programming and I applied what I learned by implementing a new class object. I’ve even managed to get a dummy score digit displayed on the game window, but I still haven’t been able to track the score as the game progresses. Whenever the ball goes out of bounds and a player scores, the game starts over again (like it should) with the ball in the center of the screen. I’ve been pretty busy lately with school, but I’m still hoping I can finish most of the game in the next week or two before the final exams. The code is getting a lot longer so I won’t be posting it in its entirety yet, but it can be downloaded from rapidshare.

Leave a Reply