Initial addition of the pong game logic