I want a night sky. Lots of stars, not all the same, drifting
slowly downward, and when one goes off the bottom another
appears at the top.
Write your requirements list before you write any code.This set also asks you to name the table and the function before you start — what is in the table, and what your function takes and does.
Notes
Do not write twenty stars by hand. Tables and a loop, or this challenge has taught you nothing.
Parallel tables are fine: one for x, one for y, one for size or brightness. Keep them the same length — nothing will check.
Not all the same means the sizes come from somewhere. math.random at the top, once per star.
Wrapping is one decision per star, per frame. It belongs in love.update, not in the drawing.
Twenty stars and two hundred should be a one-number change. If it is not, the positions are not being generated in a loop.
What Success Looks Like
The number of stars is set by one variable
Stars differ in at least one way besides position
A star that leaves the bottom reappears at the top
Nothing is written out twenty times
Set the count to 500 and run it. It should still work, and it should tell you something about what the loop is doing sixty times a second.
Submit
Your requirements list and your program folder, named cc-star-field.