improved formatting of difficulty selection buttons for ping pong and created generalized function to set style by class