pong game breakdown
TRANSCRIPT
Pong
a brief history of Pong
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.
Finite
State
Machines
Closed
Open
Ch
eck
for
Pad
dle
colli
sion
Upd
ate
ball
Insert coin inputwalk through
1 0
Wall
Score board
Paddle
Score zone
Score zone
this is the amount of states that are active during the game in which different possible outcomes can occur in this next logic chart this will explain the basic of the game if I were to program this game into a computer. these are 4 different collisions that can occur
1. Ball hits paddle
2. ball hits the wall
3. ball in scoring zone
4. paddle hits the wall
Start
Reset Ball event
Paddle
Check for player Inputs
Check for Paddle collision
Check for collision with scoring zone
Check for wall collision
Update the ballUpdate ballWhich sideLeft
player B+1 score
Right Player+1 score
Update score card
If A scores 10 player A wins ElseIf B scores 10 player B winsElse Reset ball