CPSC 210

B1: Program Structure

Q&A

...or just a chat...

Learning Goals

  • Extract a package-relationship diagram from an existing software application written in Java
  • Identify Java packages, classes, relationships, and import statements
  • Draw a package relationship diagram
  • Know how to run a Java application
  • ...and understand how this course works :)

Example: Space Invaders

(Demo)

Example: Space Invaders (2)

Package Relationship Diagram

SpaceInvaders

ScorePanel

GamePanel

SIGame

Invader

Missile

Tank

ui

model

Lecture Lab #1

☃️ WinterWonderland ❄️

Winter Wonderland

The End - Thank You!

B1: Program Structure

CPSC210 - B1 Program Structure

By Steven Wolfman

CPSC210 - B1 Program Structure

  • 359