Alice Simple Target Game



Objects, Events, and Methods in Game:

1. Penguin (Thrower):
  • Events: 
    • User Drives with Arrows
    • User Throws Sphere with Spacebar
  • Methods:
    • rightThrow

2. Orange Sphere (Pumpkin):
  • Methods:
    • Toss
    • ToPenguin

3. Zombie (Target):
  • Methods:
    • StandUp
    • StalkPenguin
    • FallDown
  • Properties
    • Pose Arms Out
    • Pose Stand Up
4. World:
  • Main Method (world.my first method)

Instructions:

1. Start Alice

2. Save your work as "Lastname Alice Throwing"

3. Use green "Add Objects" button and add the following to your world:
  • A "Thrower"  (I chose the Penguin)
  • An object to be thrown (I chose the Sphere)
  • A "Target" (Zombie)

4.  Your object tree should look like:



5. For the sphere make the following methods:
Toss:


goToPenguin:


6. Make the following methods for the Penguin (Thrower):
rightThrow:


7.  Set Poses for Zombie:
  • Stand Up
  • Arms Out

8.  Make the following methods for the Zombie (Target):
standUp:


stalkPenguin:


fallDown:


9.  Make Following Events:


10.  Create main method (world.my first method)


11. Save your work (File -> Save)
12. Test your game!