Domain Modeling
DODGE GAME
Dodge use cases scenario:
System spawns’ enemy
spaceship in a play area. spaceship flies towards player asteroids and fires
missile at it. Player steers asteroid in direction to avoid missile path.
Missile flies past player asteroid and disappear offscreen
IDENTIFY OBJECTS = noun
1. System // undecided
2. Spaceship
3. Area
4. Asteroids
5. Missile
6. Player
7. Direction
8. Path
Identifying Relationship
1, spaceship fire the missile
2. the player steer the asteroids
3. area contain spaceship
4. missile follow path
1. The game area can contain multiple
spaceships, and we can describe that using the UML notation for multiplicity
Identifying class responsibility =
System spawns’ enemy spaceship in a play area. spaceship
flies towards player asteroids and fires missile at it. Player steers asteroid
in direction to avoid missile path. Missile flies past player asteroid and
disappear offscreen
1. Spawns enemy spaceship
2. Flies toward player
3. fires missile
4. Player steers asteroid
5. Avoid Missile path
6. flies past player
7. rocket = out of bound / off screen
8. Asteroid = explode / off screen
Domain Modeling Video Lecture
1. Identfying the Objects
Mga Komento
Mag-post ng isang Komento