alice-teacher Program problem

Don Slater dslater at andrew.cmu.edu
Wed Nov 2 12:18:11 EDT 2011


Emily,
Would you send me the world… The loop infinity times is a concern to me, based on what I can see in your screen shot, the lookout is going to say "We have been out here forever" repeatedly, or the boat is going to roll… The event moves the shark, so it is possible you could have some combination of these two things, but the loop infinite times never stops…

Let me know if you have any questions…

Later,
Don Slater

On Nov 2, 2011, at 8:11 AM, Emily Higgins wrote:

> Hi All -
> One of my students is having a problem with an if...else statement.  I have used the same setup myself, coupled with a loop, and had it work fine.  As is, the lifeboat does not ever recognize the shark, even if the shark is literally in the boat.  If you have a moment to look and get back to me, I would really appreciate it.  I have put in a screenshot of the bulk of the program.  My hunch is that one of his events is causing the problem, but still just can't figure it out.  
> Thanks to all,
> Emily Higgins
> BRHS
> Boothbay Harbor, Maine<Screen shot 2011-11-02 at 8.10.44 AM.png>
> _______________________________________________
> alice-teachers mailing list
> alice-teachers at lists.andrew.cmu.edu
> https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers



More information about the alice-teachers mailing list