PONG
In 1972 Allan Alcorn created for the Atari Pong, one of the first coin-op games of the history.
The idea of the game was to electronically simulate the game of ping-pong.
It could be played against the computer or against a second player (not for this version in JavaScript).
Initially the task was assigned to Allan Alcorn by Nolan Bushnell (founder of Atari) only for the training exercise, but the quality achieved by Alcorn persuaded Nolan Bushnell to put the game on the market.