If you run into Makefile/compilation errors, you can run the script cs3-check-files
to check that you’ve ported over all required files. The script will tell you which files are missing in the terminal, or you can check the .required-files
file in your repo. If all required files are present, the terminal will not print anything.
Code Correctness
As always, this assignment has a particular set of design features that we expect you to focus on. Here’s the list of the other design features we’ve already highlighted:
- encapsulation
- code duplication
- good variable and function names
- procedural decomposition
- “overcommenting” (e.g., the comments do not explain things that are already clear from the code itself)
- usage of whitespace
- overmodularization (e.g., modularizing into functions that actually make the code less clear)
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.
If your team has rotated roles correctly, you should have done the game last week. Before you get started, we highly encourage you to talk with your teammates to learn about what they implemented in the engine in previous weeks!
Task 0. When you are done, your group should meet and complete the questions here.