KenPowerClassroom / arcadegame2021_22-arcade2021b

arcadegame2021_22-arcade2021b created by GitHub Classroom
0 stars 0 forks source link

As a player, I want there to be moving asteroids, to feel immersed in an asteroid belt #6

Open JosephOkeeffe opened 2 years ago

JosephOkeeffe commented 2 years ago

Acceptance Criteria

Tasks

classDiagram

Asteroid --> Asteroid Movement  : moveAsteroid
Asteroid Movement--> Sprite: move
Game --> Asteroid: update

We tried to use the single responsibility principle, by adding an Asteroid Movement class and the Dependency inversion principle is used so we don't tie the classes together

Reflection

If I was to do this again, I think communication is the most important factor. I would communicate more with my group. I would also add tests and learn how to do them better

kenpower commented 2 years ago

How many asteroids? - Im lazy, i'll do two move the asteroids? I guess one will alternate being in top/left and bottom right, the other will appear in a random position every frame what do they look like? I feel like they look like a pixel

kenpower commented 2 years ago

You don't need to say "subject to change", we do agile, everything is subject to change. Just need to say what we will do for this story. Random velocity: pick a number between 1pixel and 10 pixels per millennium "put them back on screen": I assume put them back in a random location