Click here to load reader
Upload
ryan-worcester
View
136
Download
2
Embed Size (px)
Citation preview
This is a flow chart representing a simplified process in which a video game does in order to operate properly. Inputs are what the user/player uses to interact with the game (mouse,
keyboard, controller) and Outputs are how the program provides feedback to the user/player (display, speakers)
Here is the simplified process of moving the paddle down in the game Pong.
Here are some of the possible INPUTS, UPDATES and OUTPUTS in the game Pong.
How a game works: Pong
PROGRAM
INPUT
UPDATE
OUTPUT
PONG
DOWN KEY
CHANGE STATE
MOVE PADDLE DOWN
DOWN KEY
UP KEY
CHANGE PADDLE STATE
CHANGE BALL STATE
CHANGE SCORE STATE
MOVE PADDLE DOWN
MOVE PADDLE UP
BALL VELOCITY CHANGES
SCORE CHANGES