Alice Community  

Go Back   Alice Community > General Discussion > The Lounge

Reply
 
Thread Tools Display Modes
Alice Assignment 5 - bar
Old
HalBen18
Junior Member
 
Status: Offline
Posts: 12
Join Date: Jan 2014
Location: Cedar Hill, TX
Post Alice Assignment 5 - bar - 03-02-2014, 05:13 PM

For this assignment, we had to make a bar with a bouncer that asked the users age and using If/Else for the replies stated by the instructor. The building was the Factory from the Buildings gallery and the person called Nate from the Peoples gallery. The first thing was creating a variable for the age and setting it to ask the user for a number. I learned this step from when I created the Einstein formula world. The next step was The If/Else statement. I layered them with the age=21 and the bouncer saying welcome to our exclusive bar, age<21 and the bouncer saying they are too young, and age>21 with the bouncer saying they are too old. This was an easy assignment but only because I had already learned how to set the variable with the user input. Every time I build a new Alice world, I get more and more excited and I want to see what else I can do with it.
   
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 ©2021, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.