pong game breakdown

2
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 Close d Open C h e c k f o r P a d d l e c o l l i s i o n U p d a t e b a l l Insert coin input walk 1 0 Wall Score board Paddl e Score zone Score zone

Upload: jamie-hyman

Post on 28-Jun-2015

695 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Pong game breakdown

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

Page 2: Pong game breakdown

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