hts.StevenWood.com

Karel 17

Home ] Up ] [ Karel 17 ] Mark sheet ][ Last Page ]

Karel 17: SantaBot & GrinchBot


SantaBot


GrinchBot (and his helper DogBot Max)
Required: Program the storyboard for SantaBot and GrinchBot and submit these items for grading.

Please note the following:

  • I will test your code with your house AND with a house of my own design
    • My house will be about 9 x 3 inside.
    • Here are 3 samples of My house: 1, 2, 3
    • My house may be in a different location than your tester. You must use variables (remember TaxiBot) to keep track of locations.
  • I will place your Santa 3 spaces over the roof on the west side of the house. Note that Santa could be facing in any direction. (It must work if it is facing north, or south, or east, or west.) I will then call the deliverPresents() method. This method should call any other methods that are needed to complete the task.
  • I will place the Grinch on the ground beside the east side of the house. Note that Grinch could be facing in any direction. I will then call the stopChristmas() method. This method should call any other methods that are needed to complete the task.
  • I will place the Christmas tree against the left (west) wall of the house.
  • The chimney will be from 1 to 3 units high and it will not be right at the corner of the house.
  • Here are some tips if you want to make your own icons.
  • SantaBot starts with 10 gifts in his backpack. Here is some help with getting Santa to hold your special Things.
  • GrinchBot must pick up all of the gifts SantaBot drops and the tree. Here is a tip to get the GrinchBot to pick up your special decorations.
  • Create your own icons for the two robots, presents and tree. Here are some tips.
  • Your code must make use of the looping command (while) and selection command (if) for your code to succeed!!

This is the mark sheet for this assignment.

Click to see the storyboard for SantaBot which extends Robot.

Click to see the storyboard for GrinchBot which extends Robot.

You must submit:
  1. a City text file containing the house you have used to test your work
  2. your SantaBot.java file
  3. your GrinchBot.java file
  4. your Christmas tree file(s)
  5. any other files needed to make your assignment run!

 

Other Stuff:
If you are not familiar with the stories:
  • The Night Before Christmas, and
  • How the Grinch Stole Christmas!

then you should check the links on the stories page.

 

Click to see the storyboard for SantaBot which extends Robot.
Click to see the storyboard for GrinchBot which extends Robot.
 
Home ] Up ] [ Karel 17 ] Mark sheet ][Last Page]
All material on this site is copyright © 1997- by Steven Wood or as credited. All right reserved. Use of this site indicates you agreement with the  terms of use.
Send comments or questions to about this page.
Every attempt has been made to credit work under copyright. If there are any claims that copyright has been missed please contact the .
+SDG+