alice-teacher Major flaw in Alice 2

aik min aik_min at yahoo.com
Mon Feb 13 22:25:18 EST 2017


Bob, 

If you remove all methods from your world, then Alice will remove the whole editor section (including the bottom control bar). You do not need to remove the "my first method", just close it to avoid the warning message that it is not being used anywhere in the program.

We are looking at keeping the command bar present in those cases. 

Regards, 
Aik Min Choong


From: Donald Slater <djslater107 at mac.com>
To: Alice Teachers <alice-teachers at lists.andrew.cmu.edu> 
Cc: Aik Min <aik_min at yahoo.com>
Sent: Monday, February 13, 2017 11:11 PM
Subject: Re: alice-teacher Major flaw in Alice 2

This is interesting and thank you for bringing this to our attention… I am unable to recreate this at the moment… Would it be possible to send to me directly (dslater at cmu.edu <mailto:dslater at cmu.edu>) a copy of the world where this has happened?

What version of Alice, computer OS, you are using?

Thank you,
Don Slater


> On Feb 12, 2017, at 9:16 PM, robert durtschi via alice-teachers <alice-teachers at lists.andrew.cmu.edu <mailto:alice-teachers at lists.andrew.cmu.edu>> wrote:
> 
> Rare but annoying when it happens.
> We are doing an Alice world where we are using events to control a seaplane.  There is no need for anything but events, so for a change I immediately deleted 'my first method' from "when the world starts" and changed the event to "while the world is running, during: seaplane move forward 1 meter. 
> Later in the exercise we added a speed control:
>     create a Seaplane properties variable called "speed"
>     replace the 1 meter in "seaplane move forward 1 meter" with "speed meters"
>     choose two "when a key is pressed" 'A' and 'D' to "increment speed by 1" (Accelerate) and "decrement speed by 1" (Decelerate). 
>     We needed a guard check to keep speed from going negative: "if speed > 0" decrement speed by 1
> 
> That's when I realized that the 'universal' commands at the bottom of the edit window, including the if/else had disappeared along with the edit window for the "my first method" I created a method long enough to get the if/else back then deleted it again.
> 
> Bob Durtschi
> 
> _______________________________________________
> alice-teachers mailing list
> alice-teachers at lists.andrew.cmu.edu <mailto:alice-teachers at lists.andrew.cmu.edu>
> https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers <https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.andrew.cmu.edu/pipermail/alice-teachers/attachments/20170214/78e5e3cf/attachment.html>


More information about the alice-teachers mailing list