Alice Community  

Go Back   Alice Community > General Discussion > The Lounge

Reply
 
Thread Tools Display Modes
Assignment 3 Slow Moving Mummy
Old
bdoherty
Junior Member
 
Status: Offline
Posts: 6
Join Date: Jun 2015
Location: Dallas, Texas
Red face Assignment 3 Slow Moving Mummy - 06-16-2015, 04:02 PM

Overall, it was a pretty good assignment. I was able to get the mummy to start walking by controlling its right leg and then left leg. I originally started creating multiple methods in the Step method, but then realized I could use a loop and only needed to create the move left leg, then move right leg, then move upper body and the loop allowed it to repeat 10 times, until it got to the Pharaoh.

Moving the Pharaohs arm was somewhat difficult, since I kept going through each movement and couldn't find the correct one, until I located the turn, backwards method, which allowed the Pharaoh to point at the mummy.

I did look at the Randomize Frog program and was able to mimic some code to make my program do similar things.
   
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2024, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.