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 folder 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. The folder should be called BobSmithJaneJones (or JaneJonesBobSmith). Make sure all java files, class files and any image or other files are in the folder. 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 (the example is in processing but the comments are the same):

/*********************************************************
*  Name: Jane Jones, Bob Smith                           *
*  Course: ICS 4U Pd. 1                                  *
*  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;
  }