Code Correctness
Throughout this course, we also want you to focus on your code quality in addition to the functionality of your code. For the complete list of code quality items we’ll look at throughout the quarter, please consult the code quality document. If we see code quality issues during code reviews, we will ask your group to resubmit the project with those issues fixed.
We will take off points if your code has memory leaks, so be sure to check for them before you submit your code!
Implementing the engine is a prerequisite for implementing the demo!
Demos
This week, you will be implementing the following “n-bodies” demo. Here is the video example:
Your “n-bodies” must use the scene, body, and (new) force creator abstractions. Our implementation uses gravity in the n-bodies demo.
Since the demo is relatively straightforward, we have not included hints/clarifications. The exact colors/number of bodies/velocities don’t have to be exact, but other characteristics of the demo shown above should be present.
If one of your teammates implemented the physics engine, we highly encourage you to discuss with them to gain a better understanding of how scenes, bodies, and forces interact with each other.
Once all your group members have finished, work with them to complete the extension (more information in the main project page).