A new version of this scenario was uploaded on Wed Jan 19 21:12:24 UTC 2011
Updated the flow to move to basics2 in the seond round. Also, added file "java.txt" which you can use for Java only questions.
A new version of this scenario was uploaded on Sun Jan 30 05:35:33 UTC 2011
Added a random board fill effect when starting a round.
A new version of this scenario was uploaded on Sun Jan 30 08:54:34 UTC 2011
Fixed a bug in the random board fill algorithm.
A new version of this scenario was uploaded on Mon Jul 25 20:20:47 UTC 2011
A new version of this scenario was uploaded on Mon Jul 25 22:22:56 UTC 2011
A new version of this scenario was uploaded on Mon Jul 25 22:23:31 UTC 2011
A new version of this scenario was uploaded on Mon Jul 25 22:37:56 UTC 2011
A new version of this scenario was uploaded on Mon Jul 25 22:39:47 UTC 2011
A new version of this scenario was uploaded on Mon Jul 25 22:48:44 UTC 2011
A new version of this scenario was uploaded on Mon Jul 25 23:04:50 UTC 2011
A new version of this scenario was uploaded on Tue Jul 26 19:51:46 UTC 2011
Updated GUIComponent by removing a call to Greenfoot.getKey() when requesting focus to fix a null pointer exception that occurs on some systems.
A new version of this scenario was uploaded on Tue Jul 26 19:53:31 UTC 2011
Updated GUIComponent by removing a call to Greenfoot.getKey() when requesting focus to fix a null pointer exception that occurs on some systems.
Hello! I was looking at your code, and it all works beautifully. I was wondering if I might be able to implement this for a different topic though. I've created a new .txt document following your format, but can't seem to get the program to accept the science.txt file name. Any suggestions would be greatly appreciated!
Never mind! For anyone having the same issue, you'll need to close out of Greenfoot entirely and re-open your project file before the question changes take place.
Hi Martin747,
You should be able to simply put your "science.txt" file into the same folder as the source code. Then when you run the program you can just type "science.txt" (without the quote marks) and it will load the file. I have tried this and it seems to work well.
A new version of this scenario was uploaded on Wed Sep 28 04:47:14 UTC 2011
Changed turn code to use new turn method in basics.txt file.
A new version of this scenario was uploaded on Wed Sep 28 04:48:14 UTC 2011
Changed turn code to use new turn method in basics.txt file. Also published the source code.
A new version of this scenario was uploaded on Wed Sep 28 04:57:25 UTC 2011
Locked the scenario.
The question "This is a class and often contains another class" gave Actor as an an anwser, and said it usually contains other classes such as GreenfootImage or String. Those would be instances of a class, aka objects, which is different from a class. Other than that I thought it was a great scenario. And how did you make that textbox?
A new version of this scenario was uploaded on Mon Oct 03 01:03:06 UTC 2011
Corrected the wording of a question.
A new version of this scenario was uploaded on Mon Oct 03 01:04:04 UTC 2011
Corrected the wording of a question.
Hi AwesomeNameGuy,
Thanks for the correction! You are right, of course. I corrected the question and uploaded a new scenario with the correction.
The textbox is from my project GUI World at http://www.greenfoot.org/scenarios/2371 . There are a lot of things that went into the text box. For example, it uses a TextLayout from the Java API to keep track of cursors within the text. I have some design notes in the README.TXT file for the GUI World project.
Thanks. I remeber spending hours trying to program my own text box with only mediocre results. Never got a cursor to work either. I'll have to check it out.
A new version of this scenario was uploaded on Wed Oct 12 19:47:44 UTC 2011
Added a C++ test. Use the "cpp.txt" question file.
A new version of this scenario was uploaded on Wed Oct 12 19:53:38 UTC 2011
Added a C++ test. Use the "cpp.txt" question file.
A new version of this scenario was uploaded on Thu Nov 06 01:02:40 UTC 2014
Add a new l33t.txt file.
A new version of this scenario was uploaded on 2018-01-30 03:21:03 UTC
Updated to run in the TeaVM online. Removed FileReader, Scanner and awt references.
A new version of this scenario was uploaded on 2018-01-30 03:43:07 UTC
Updated to run in the TeaVM online. Removed FileReader, Scanner and awt references.
A new version of this scenario was uploaded on 2018-01-30 03:47:05 UTC
Replaced
StringBuffer sb
...
new String(sb)
with
sb.toString()
A new version of this scenario was uploaded on 2018-01-30 03:55:54 UTC
Corrected an error in a question.
2011/1/18
2011/1/18
2011/1/18
2011/1/19
2011/1/19
2011/1/19
2011/8/10
2011/8/10
2011/8/10
2011/10/2
2011/10/3
2011/10/3
2018/3/4
2018/3/5