In the previous Tynker activity, you learned how to write instructions, or code, to model and animate the agents of a simple system. In addition to programming the agents, you also need to provide a way to change some things about the system. Things that can be changed in a model are called parameters. Think about the infection spreading simulation that you saw in#TrittatHome1. You were able to change the number of initial infections, the recovery rate, and other things about the model. Those are parameters of the infection model.
In this project you will learn how to program a model so that it has parameters, or values that can be changed. Building on the things you learned while making the dodgeball/tilt game in the previous activity, you will build a model of a dinosaur ecosystem. This model will allow the user to set parameters at the start of each simulation to specify the number of dinosaurs, the amount of food available, and other things about the dinosaurs’ interdependent system.
Once again, it would be best to print the directions as reference as you work. Happy coding!
The directions for our tilt game part 3 are below. Like Part 2, this is a bit more challenging than part 1. If it's possible to print the directions, I would highly suggest it. When you're done, you'll have learned to clone and broadcast messages in your program to end the game! Be sure to answer the questions below.
Please comment answering the conclusion questions below.
The directions for our tilt game part 2 are below. This is a bit more challenging than part 1. If it's possible to print the directions, I would highly suggest it. At the end, though, you will have made a game that keeps score! Fun! Comment below and let me know if you realize you created some bugs in your code and how you debugged. I know I created some!
Now that you know how to use Tynker, it’s time to build your first program—a dodgeball game where you tilt the tablet to avoid being hit by flying balls. Read the description of the game and then follow the steps for building the game. *Please click on the button below to email Mrs. Pascual if you are using a Chromebook.
The procedure for building the Dodgeball Game is divided into seven parts. Please complete parts 1-3 below, or download the directions and print them.