Alice Community  

Go Back   Alice Community > General Discussion > Questions and Comments

Reply
 
Thread Tools Display Modes
Fahrenheit to Celsius World
Old
lgoodsell
Junior Member
 
Status: Offline
Posts: 1
Join Date: May 2017
Location: New Hampshire
Default Fahrenheit to Celsius World - 05-28-2017, 10:43 AM

Is there a world Fahrenheit to Celsius World that I can download or do I have to create it from scratch?
   
Reply With Quote
Old
Dameria
Senior Member
 
Dameria's Avatar
 
Status: Offline
Posts: 976
Join Date: Sep 2009
Location: United States
Default 05-29-2017, 12:11 PM

Hi lgoodsell,

I have never seen an existing Alice project that does Fahrenheit to Celsius, but it would be very easy to create. Simply create a world method that asks the user to input a value in Fahrenheit and have it stored as a floating point (decimal number) variable, do the mathematical calculation necessary to convert it to Celsius, then display the Celsius value to the user in a message box. If you want to be fancy you could put in some type of character from the library of objects and have the character "ask" the question and then tell you the answer.


Check out my best projects so far and please comment:

Tic-Tac-Toe 2.0 ................... http://www.alice.org/community/showthread.php?t=3548
Alice Paint ........................... http://www.alice.org/community/showthread.php?p=23408
Real-Time Clock .................. http://www.alice.org/community/showthread.php?p=12725
Maze Game ......................... http://www.alice.org/community/showthread.php?t=4301
   
Reply With Quote
Old
Dameria
Senior Member
 
Dameria's Avatar
 
Status: Offline
Posts: 976
Join Date: Sep 2009
Location: United States
Default 05-29-2017, 05:43 PM

I decided to make an example for you with Socrates giving you the Fahrenheit to Celsius conversion when you click on him.
I also decided to have a little fun and put in some animals animations in the background so it wouldn't be so boring.

For some reason the file isn't uploading correctly through this forum, so I'll post a link below where you can download it:
https://www.dropbox.com/s/f6m6v1jd60...lsius.a2w?dl=0

You can download from the link above by pressing "No thanks, continue to view" on the bottom of the popup and then "Download" and "Direct download"

If you have any questions feel free to ask!


Check out my best projects so far and please comment:

Tic-Tac-Toe 2.0 ................... http://www.alice.org/community/showthread.php?t=3548
Alice Paint ........................... http://www.alice.org/community/showthread.php?p=23408
Real-Time Clock .................. http://www.alice.org/community/showthread.php?p=12725
Maze Game ......................... http://www.alice.org/community/showthread.php?t=4301

Last edited by Dameria; 05-29-2017 at 05:45 PM. Reason: Directions for downloading
   
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.