Simplify the pong script.