I am trying to make a game of pong. Ive got the collisions working and all but I can't get the scores to work. I have all the digits necessary and respective classes and I made two specific classes (score1 and score2) that are supposed to change image when the ball has been detected as hitting the limit of the map (left and right - "limite1" and "limite2"). I have figured that one of the problems is that the score1 (and score2 which I haven't done yet but must be the same as score1 with different variable names) isn't being incremented. I have tried so many ways to create these variables in such a way that I could invoke them globally. I indented the scores within the "ponto", which is the one that is responsible for the movement of the ball and checking of limits. Thanks for your time!