Pong (marketed as PONG ) is one of the earliest arcade video games; it is a tennis sports game featuring simple two-dimensional graphics. While other arcade video games such as Computer Space came before it, Pong was one of the first video games to reach mainstream popularity. The aim is to defeat the opponent in a simulated table tennis game by earning a higher score. The game was originally manufactured by Atari Incorporated (Atari), who released it in 1972. Allan Alcorn created Pong as a training exercise assigned to him by Atari co-founder Nolan Bushnell. Bushnell based the idea on an electronic ping-pong game included in the Magnavox Odyssey, which later resulted in a lawsuit against Atari. Surprised by the quality of Alcorn's work, Bushnell and Dabney decided to manufacture the game. Pong quickly became a success and is the first commercially successful video game, which led to the s...
When you try to run the program, i has an error staring that xrange is not defined. Could you give me a fix for this?
ReplyDeleteHello.. This code was written long ago with python 2.x compiler.
DeleteI guess you're using python 3.x, where xrange is not used anymore. So to fix it, change all xrange to range.
Thanks for notifying. I'll modify the codebase as well when I get time..
Can you write this game with c++?
ReplyDelete