Comments For Summative Project

You will not need to do as much commenting for the summative project as you normally would. I just need the opening comment for the program and an opening comment for each method with the name and purpose of the method. Put it in a box so it is easy for me to find the beginning of each method. You don't need a variable dictionary or internal comments.

The name for the program should include all members in the group. When you are ready to submit the program you will need to compress the folder that holds your program and any other data into a single zip file. If you search "compressing folder on windows 10" (or a mac) you should find easy to follow instructions to make a zip file. If you need help let me know.

For example:
Bob Smith and Jane Jones are partners. They should save their program as BobSmithJaneJones (or JaneJonesBobSmith). This will make a folder called BobSmithJaneJones that contains a file called BobSmithJaneJones.pde. It will also have pde files for any tabs you might have. If you have any pictures or other files they should be inside a folder called data that will be inside BobSmithJaneJones. You would compress the folder into a file called BobSmithJaneJones.zip. That is what you will attach to your email when you submit your program.

Here is an example of what the comments that are required should be like:

/*********************************************************
*  Name: Jane Jones, Bob Smith                           *
*  Course: ICS 3U Pd. 7                                  *
*  Final Project: Tic-Tac-Toe                            *
*  Purpose: 1 or 2 player Tic-Tac-Toe                    *
*  Due Date: June 4, 2020                                *
*********************************************************/

  /*** collidingWith ************************************
  * Check if 2 cars are colliding.  If they are set     *
  * their crash states to true and redraw them          *
  ******************************************************/
  void collidingWith(Car c)
  {
    if (Math.abs(x - c.x) < 100 && Math.abs(y - c.y) < 50)
    {
      crashed = true;
      c.crashed = true;
      display();
      c.display();
    }
  }
  
  /*** equals *******************************************
  * Check if 2 cars are considered equal                *
  ******************************************************/
  boolean equals(Car c)
  {
    return c!= null && c.colour == colour && c.crashed == crashed;
  }