Examples Ping Pong

Ping Pong

This is a game inspired by one of the oldest arcade video games: Atari’s Pong. In this two-player game, each player controls a paddle, represented by a white rectangle. The W and S keys move the paddle on the left up and down, and the up and down arrow keys move the paddle on the right up and down. Players score points by bouncing the ball, represented by a white square, past the edge of the opponent’s side of the canvas.`