PONG - PowerPoint PPT Presentation

1 / 21
About This Presentation
Title:

PONG

Description:

Game Flow. On reset, display intro screen for 5 seconds. Display GUI until user input ... Implement cheats. Phase IV. Improved scoring system. Implement UI ... – PowerPoint PPT presentation

Number of Views:165
Avg rating:3.0/5.0
Slides: 22
Provided by: JJC2
Category:
Tags: pong | cheats | game

less

Transcript and Presenter's Notes

Title: PONG


1
PONG
  • EE362 Summer 04
  • Mini-project
  • Team WWJD

2
Team WWJD
  • Members
  • Xavier (team leader)
  • Jonathan (software leader)
  • Virgil (hardware leader)
  • Justin (documentation leader)

3
Game Flow
  • On reset, display intro screen for 5 seconds
  • Display GUI until user input
  • Name entry
  • Game start
  • Score board
  • Game end
  • High score display
  • Intro screen

4
Hardware implemented
  • CrystalFontz CFAG240128D-FMI-T LCD
  • 2 Grayhill 62S11-M5-PH Encoder / Rotary Pulse
    Generator w/ pushbutton
  • 2 knobs
  • Motorola M68HC12 microcontroller

5
GUI
  • The user interfacing part will (hopefully)
    consist of the game title, some graphics and the
    mode selections

6
Name entry
  • Prompt player(s) to enter name (for score board
    and high score list)
  • Limited to 3 characters
  • Select by scrolling through alphabets using
    Encoder

7
2 player mode
  • Boundaries, top and bottom
  • Each boundary 1 pixel from edge
  • Limitation to ball and slider movements
  • Closed

8
2 player mode
  • Sliders
  • Sliders can travel along one vertical line
  • Size 5x25 pixels
  • Path at 14 pixels from left and right edges (not
    boundaries)
  • Path terminates 12 pixels from boundaries (top
    and bottom) (12(25(slider width)1(slider
    position))/2)
  • Object contains
  • Position on path (1 dimension only)

9
2 player mode
  • Ball
  • Travels inside boundaries
  • Size 6x6 pixels
  • Bounces as a perfect reflection off any surfaces,
    sliders and boundaries included
  • Flies off left and right boundaries (winning
    condition)
  • Object contains
  • Velocity vector
  • Position
  • Possibly number of bounces for score keeping (off
    sliders or off boundaries or both)
  • Destination position (at slider path) for AI

10
1 player vs CPU mode
  • Same environment as 2 player mode
  • Simple AI will be implemented
  • Calculates path of ball
  • Slider will stop at random offset from collision
    point
  • Difficulty will be implemented

11
Score board
  • Big fonts of player name(s) and corresponding
    score under
  • Transition between 2 sets (1 set being 1 ball)

12
High scores
  • Hall of Fame
  • Displays player name and score
  • Can be cleared

13
Phase I
  • Interface with LCD to produce pixels, characters
    and eventually graphics (completed July 24th, 14
    hours)
  • Program algorithms for sliders, ball, bounce and
    basic scoring (each set win scores 1)
  • Interface with Encoder to work with slider
    movements
  • Ball limited to 45 degree velocity vectors and
    constant speed

14
Phase II
  • Stress test 1 player mode
  • Implement CPU mode
  • Create AI, calculate ball path and collision
    position
  • Generate random offset
  • Humanized slider movement (not instantaneous)

15
Phase III
  • Implement Score board and name entry
  • Interface with Encoders for name entry
  • Score board between every set, displays player
    name(s)
  • Implement cheats

16
Phase IV
  • Improved scoring system
  • Implement UI screen and High score
  • Use Encoder for game mode select
  • High score scrolling?

17
Phase V
  • UI graphics
  • Intro graphics
  • Any modifications to game play graphics

18
Phase VI
  • Improved ball physics
  • Increased velocity vector angles
  • Change in angle depends on slider collision
    position

19
Phase VII
  • Game Difficulty
  • Ball speeds up
  • Improved AI (smaller offset or offset at hit
    intervals)
  • Improved scoring system
  • Higher score accumulation proportional to ball
    speed

20
Phase VIII
  • Improved ball physics
  • Twitch path if caught in infinite loop
  • Visual enhancements in Intro and UI screens
  • Flashing boarders
  • (suggestions please)

21
Phase IX Final Phase
  • Any other modifications to PONG
  • Extensively stress test the system
  • Documentations
  • Presentation preparation
Write a Comment
User Comments (0)
About PowerShow.com