Alice Programming Assessment: Parameters

Alice Programming Assessment: Parameters

Alice Programming Assessment: Parameters Samantha Huerta Under the direction of Professor Susan Rodger Duke University July 2014 Challenge Overview This assessment is designed to cover

parameters in Alice. It should take about 20 minutes to complete this challenge Before attempting this challenge please complete: Creating Simple Objects with Shapes and Textures: Texture Maps Starter World Open the textureMapsChallenge.a2w world You will see that there are already objects and methods written

Press play and view the current state of the world Goal This world is not yet complete. The goal of the challenge is to have the camel change his skin to hide from the snake, then change back when he is no longer hiding The snakes water cup should also follow him to the water cooler.

Right now it is left behind and the cup moves from the pyramid scene to the cooler YOU MUST FIX THE WORLD! Methods There are 3 world methods and 4 camel methods that have been written The only methods you will need are world.myFirstMethod and camel.hide

There are comments in both of these methods to help! Fixing camel.hide Find camel.hide in the camels methods tab. Click edit and look at the code and comments.

Change the camel so he blends in with the pyramid and can hide from the snake Hint: Properties can be changed inside of a method! Changing camel back! The camel cannot stay

like the pyramid forever. He needs to be changed back! Change the camel back to his original skin in world.myfirstmethod! You should do this after he realizes the snakes needs help! (WATER? I can help!)

Water cup The snake wants to fill his cup up with water, but when he moves to the water cooler the cup stays behind! Make sure the cup follows the snake when he moves!

Play World! If in your world the camel changes at appropriate times and the cup follows the snake YOU HAVE COMPLETED THE CHALLENGE! CONGRATULATIONS!

Recently Viewed Presentations

  • Gloucestershire Primary Care Dementia Summit 24th November 2009

    Gloucestershire Primary Care Dementia Summit 24th November 2009

    diagnosis information, communication and signposting ongoing care and support end of life palliative care back to diagnosis living well with dementia: a national dementia strategy (london, department of health, 2009) benefits of early diagnosis (bamford et al (2004) disclosing a...
  • Network Response for Second-Order Transients

    Network Response for Second-Order Transients

    Transient Response for Second-Order Circuits Characteristics Equations, Overdamped-, Underdamped-, and Critically Damped Circuits Second-Order Circuits: In previous work, circuits were limited to one energy storage element, which resulted in first-order differential equations.
  • Chapter 1An Overview of Marketing

    Chapter 1An Overview of Marketing

    Marketing. American Marketing Association's definition. Activity, set of institutions, and processes for creating, communicating, delivering, and exchanging offerings that have value for customers, clients, partners, and society at large. Has two facets. LO 1. Marketing. has two facets.
  • Ict Development Fund (Ict -df) Legislation

    Ict Development Fund (Ict -df) Legislation

    In line with the NDP, USAASA through USAF projects provides broadband infrastructure and ICT connectivity in the underserved. SA Connect. Provides guidance on building an access or core network, coordinates building programmes for efficiency, and promote universal access through efficient...
  • BC Wood Specialties Group Wood Products Promotion  No

    BC Wood Specialties Group Wood Products Promotion No

    BC Wood Specialties Group Wood Products Promotion - No Borders July 13, 2008
  • CHAPTER 2 Financial Statements, Cash Flow, and Taxes

    CHAPTER 2 Financial Statements, Cash Flow, and Taxes

    Tahoma Arial Wingdings Blends 1_Blends Microsoft Clip Gallery CHAPTER 3 Financial Statements, Cash Flow, and Taxes Tutor hours The Annual Report- a review of acct 101 Balance Sheet: Assets Balance sheet: Liabilities and Equity Income statement Other data Statement of...
  • Hormones, Receptors, and Signal Transduction Learning Objectives 1.Learn

    Hormones, Receptors, and Signal Transduction Learning Objectives 1.Learn

    Possible pathways of transmission of hormonal signal. Each hormone can work through one or more receptors; each hormone-receptor complex can work through one or more mediatorproteins (either G proteins or other signaling mechanism), and each mediating protein or enzyme activated...
  • Programming and Problem Solving with C++, 2/e

    Programming and Problem Solving with C++, 2/e

    The stream identifier can be used as if it were a Boolean variable that has value false when the last I/O operation on that stream failed and has value true when it did not fail After you use a file...