View Single Post
The Monty Game
Old
rshoe
Junior Member
 
Status: Offline
Posts: 12
Join Date: Sep 2013
Default The Monty Game - 10-08-2013, 08:15 PM

Mark:

Thanks for the information on the combo lock. I will look at it and make the changes..

As far as the Monty Game - I have made a list containing the three doors, and I set the car and the two monkeys to the doors as vehicle. I have made a method called swap with two doors as parameters. I'm not sure how to swap the doors and move them 2.5 meters in opposite direction with out moving them off the screen. I am having trouble starting this.

The book reads: "Use a method called swap that takes two doors as parameters. Swap the two doors by having them move 2.5 meters in opposite directions. Important: Two doors should swap only if they are different ( a door cannot swap places with itself).

Thank you for all your help.
Randy
   
Reply With Quote