Quote:
Originally Posted by jediaction
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