Im just testing average score. it works. so basically, each time you die a variable called "Total Times Played" will change by one and your score that you got will be added to a variable called "Total Score" ex: If the previous Total Score was 46 and you got 28 more points, then the new total score would be 74. then the Total Score variable will be divided by Total Times Played variable creating the Average Score.
move your cursor (mouse) and hit the ball. The speed of the ball builds up every time it hits a wall or the paddle. Press space to play again after you die