Pong game loop
initGame() : This function initializes the game by setting up the playfield, paddles, ball, and any other game objects and variables
handleOutOfBounds(): This function checks if the ball has gone out of bounds (i.e., past a paddle), and if so, it handles the scoring and resets the ball to the center of the screen.
renderPlayfield(): This function redraws the playfield with the new state of the game.