Scratch Lab #10

Name: Daniel Harris

Period: 7

Assignment: Lab #10

Lab Overview

This lab focused on using lists to store many variables in one variable. Like when you go grocery shopping you have a list... you know, a list. Click HERE for the full description.

Part 1

Blue-rabbits

Red-foxes

Questions

  1. What data is attached to each clone? That is, what is changed on each clone that allows for the rabbits and foxes to appear/disappear?
      When a rabbit is touching a fox it will disappear, the rate of cloning itself is also attached to each rabbit and fox clone. If a fox does not eat enough rabbits and its volume is equal to zero, then it is deleted.
  2. Are the simulation results the same each time? Why or why not?
      No, the rabbits and foxes start in different places in different directions, and turn in random directions. The settings can also be changes.

Part 2

We also had to make a game, I chose to make the gremlin game in which a player moves back and forth to catch raindrops in order to duplicate. To do this I used a forever loop to give the player keyboard controls, and when it touches a raindrop, or star in this case, it makes a clone of itself that moves up and down and then destroys itself.

Problem 1 Link