The Mind Of Sauron
From Huben's Wiki
Line 35: | Line 35: | ||
*** Start with a cackle! | *** Start with a cackle! | ||
*** Chant the spell in your field, then chant another spell you make up. | *** Chant the spell in your field, then chant another spell you make up. | ||
+ | *** Send 9 ringwraiths to The Shire. | ||
*** Print the number of Hobbits needed as food for your army every week. | *** Print the number of Hobbits needed as food for your army every week. | ||
*** Print the number of Hobbits needed as food for your army every week if you double the number of Orcs. | *** Print the number of Hobbits needed as food for your army every week if you double the number of Orcs. | ||
When you are done, put the code and the results from running it into a document, then print it for me to grade. You can also show me what you've done at the computer any time. Do not get stuck: you should be able to get this done today if you persevere. If you can't then finish it for homework. | When you are done, put the code and the results from running it into a document, then print it for me to grade. You can also show me what you've done at the computer any time. Do not get stuck: you should be able to get this done today if you persevere. If you can't then finish it for homework. | ||
+ | |||
+ | <!-- | ||
+ | What we should have learned: | ||
+ | * How to translate an English description into a field or method. | ||
+ | * You don't need to know the context to program something. | ||
+ | * How to follow instructions closely and completely. | ||
+ | * How to use a method more than once with different arguments. | ||
+ | * How to make a method and use it more than once rather than duplicate code. | ||
+ | * How to make and use arrays. | ||
+ | * How to initialize Strings and arrays of Strings. | ||
+ | * The difference between int and double, especially for division. | ||
+ | * How to pick meaningful names for methods and variables (fields and local variables.) | ||
+ | * The meaning of static, public and private can still be a mystery. | ||
+ | * We can write a large, awesome program that does real stuff! | ||
+ | --> |