Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Reply
 
Thread Tools Display Modes
Transfering from alice to java
Old
the gaate
Guest
 
Status:
Posts: n/a
Default Transfering from alice to java - 09-29-2010, 09:07 AM

i was making sure that alice is mainly based of of the language java. If so i was wondering if anyone had any ideas about where to start from going from alice to java. Alice has way to many boundries. but i did have fun.
   
Reply With Quote
Old
jediaction
Senior Member
 
jediaction's Avatar
 
Status: Offline
Posts: 5,064
Join Date: Jul 2009
Location: Bel Air, Maryland
Default 09-29-2010, 09:26 AM

Quote:
Originally Posted by the gaate View Post
i was making sure that alice is mainly based of of the language java. If so i was wondering if anyone had any ideas about where to start from going from alice to java. Alice has way to many boundries. but i did have fun.
Um. Alice is Java, Try testing the same logic in alice in Java and tell me how that goes. Type is within script.


Website: www.salokingames.com
FaceBook: www.facebook.com/SalokinGames
   
Reply With Quote
Old
Dameria
Senior Member
 
Dameria's Avatar
 
Status: Offline
Posts: 976
Join Date: Sep 2009
Location: United States
Default 09-29-2010, 09:34 AM

Quote:
Originally Posted by jediaction View Post
Um. Alice is Java, Try testing the same logic in alice in Java and tell me how that goes. Type is within script.
Well, technically Alice is a mix of Java and Python, thats why they call it "jython" sometimes. The code in Alice is actually coded in python, not in Java, however the blocks of code that you use to code regular Alice programs is compiled and run with Java. Those lines of code you type into the coding part of Alice 2.2 is python, and it is very different from Java. If you try to copy and paste that python code into a Java compiler, it would not work at all. You would have to rewrite the code so that Java understands it.


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
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.