Deliverable 07 - Fall 2023

Due Saturday, Oct. 14, 2023 by 11:59PM


PREPARING YOUR HANDIN FOLDER...

FIRST: Create a folder or subdirectory in your 15-104 working area on your computer or in your Andrew private folder for handin-07. You will put all of your work inside this folder and then compress or zip it to create handin-07.zip to submit to Autolab.


Conceptual Questions

In this part of the deliverable, you will download this Word file that contains 4 questions about concepts taught in class. You may download it anywhere on your computer. You should fill in your answers in the spaces provided, and include your name, andrewID and section letter at the top of page 1.

Once you are finished with this part of the deliverable, print/save it as a PDF and store this PDF in your handin-07 folder with the name andrewID-07-concepts.pdf. For example, if your andrewID is acarnegie, then you would save the PDF under the name acarnegie-07-concepts.pdf.


Technical Assignment 07: Planting The Flag (3 points)

In this Assignment, which should be uploaded to Autolab, you will create a random, scrolling terrain with flags at each peak.

Your job is to write code which automatically plants small flags on the hills of this landscape. Here’s an example of what your flags (or trees, street signs, cell towers, etc.) might look like:

Terrain with flags on peaks

For this Assignment, how your flags look is entirely up to you. (They can even be other objects like a cell tower, lollipop, etc.) However, what is crucially important is where they are placed. You must ensure that your "flags" are placed at the tops of the terrain’s hills. You will start by creating a stationary picture that does not scroll. Then once that works, you will try to update it so it scrolls as shown.

Here are some guidelines for your assignment:

Once you get to this point, you should have a picture similar to the example above, but it won't scroll. This is worth 2 points of the 3 points.

Once you feel comfortable that you have earned 2 points, you can move on to try for 3 points instead by making it scroll, similar to the picture below (but store a copy of your current program in case you get stuck.

Terrain with flags on peaks


There is NO Open-ended Project for this week!


Handing in your work

Your handin folder handin-07 should have the one folder described above along with the pdf for your Concepts questions.

You will zip up the handin-07 folder and submit this to Autolab. Your overall folder organization should look something like this (indentation indicates subfolders):


  handin-07
    andrewID-07-assignment
      index.html
      sketch.js
    andrewID-07-concepts.pdf

Once you are ready to submit, zip (compress) the handin-07 folder (which will likely be named handin-07.zip) and hand in the ZIP FILE into the Deliverable 7 submission area on Autolab. Once you handin, check your handin history and click on the magnifying glass to look at what you submitted to make sure it looks right. IF YOU SUBMIT THE WRONG ZIP FILE, YOU RISK GETTTING A 0 ON THIS DELIVERABLE!

You may submit as many times as you’d like (in case you find inspiration and want to improve your work) up until the deadline. If you submit up to one day late, even if you submitted on time, you will be marked late. We only grade the final submission you upload to us via Autolab.