This site requires JavaScript, please enable it in your browser!
Greenfoot back

bourne's Comments

Back to bourne's profile

bournebourne

2013/6/11

I have the feeling Duta cheated.. forgot to implement something to prevent cheating.
bournebourne

2013/6/11

Lol I've been there before. But now you have a high score record! =)
Included a link to the rules for the official competition. So if you are not familiar with them. Though my scenario hides any avenues of cheating I believe.
Also I think I found a way to allow copy and paste from the system clipboard. Let me know if it works for you. By following this tutorial: http://www.shodor.org/interactivate/resources/InstructionsCopyPaste/#policytool
This scenario is based off of the official Greenfoot Greeps competition. So custom RGB colors for the paint wouldn't be following the rules. Also you can't extend the Greep's "memory" (local variables would be allowed - which I realize there are these limitations with my given implementation). More info found here: http://www.greenfoot.org/competition/greeps/
It was my intention for recording most recent score. So that it reflects your current code, and so that it perhaps removes temptation to run the same code over and over in hopes of getting most optimal results - without consequence (losing a decent score). Furthermore, I think it reflects the feeling of the real Greeps competition - you run your Greeps through the maps and that's your new score.
Correct. UserInfo per scenario.
I can think of no way systematically without simply giving out an email which can be used to submit the java files, which then can be ran/tested, and it wouldn't be difficult to update the scenario or add admin functionality for the scenario (may not work because UserInfo.store() I believe only works for the active UserInfo) for posting results/high-scores From the API: UserInfo.store() "You can only store data for the current user (that is, data retrieved using getMyData). If you try to store data for any user other than the current user, it is guaranteed to fail." So you would have to go the updating the scenario with results approach. (i.e. high scores / results stored within a text file included with the scenario with associations to particular User names)
@m_p_v_13, Because of applet security restrictions, it cannot access the System clipboard. Some sort of keyboard emulator sounds like something you would have on your computer - not something I can implement within the scenario. Your code gets saved (after running all 10 maps). (And outputted to terminal just as a safeguard). The idea was that you edit your code within the scenario.